Browse code

remove unnecessary declaration

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1124 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2004/11/27 02:27:21
Showing 1 changed files
... ...
@@ -178,7 +178,8 @@ int cli_bm_scanbuff(const char *buffer, unsigned int length, const char **virnam
178 178
 		if(found && p->length == j) {
179 179
 
180 180
 		    if(p->target || p->offset) {
181
-			    int off = offset + i - BM_MIN_LENGTH + BM_BLOCK_SIZE;
181
+			off = offset + i - BM_MIN_LENGTH + BM_BLOCK_SIZE;
182
+
182 183
 			if(fd == -1 || !cli_validatesig(p->target, ftype, p->offset, off, fd, p->virname)) {
183 184
 			    p = p->next;
184 185
 			    continue;