Browse code

Don't be so keen to report an error.

git-svn: trunk@2306

Trog authored on 2006/09/26 17:42:01
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Tue Sep 26 09:40:03 BST 2006 (trog)
2
+-----------------------------------
3
+  * libclamav/unrar.c: Don't be so keen to report an error.
4
+		Reported by: Gianluigi Tiesi
5
+
1 6
 Mon Sep 25 19:28:02 BST 2006 (njh)
2 7
 ----------------------------------
3 8
   * libclamav/regex_list.c:	Corrected "R" regex handler
... ...
@@ -1279,7 +1279,6 @@ static int rar_unpack29(int fd, int solid, unpack_data_t *unpack_data)
1279 1279
 			}
1280 1280
 			if (number == 256) {
1281 1281
 				if (!read_end_of_block(fd, unpack_data)) {
1282
-					retval = FALSE;
1283 1282
 					break;
1284 1283
 				}
1285 1284
 				continue;