git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@959 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/10/03 00:41:50... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Sat Oct 2 16:41:02 BST 2004 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ * libclamav/table.c: Fix compilation problem when --enable-debug is not set |
|
4 |
+ |
|
1 | 5 |
Fri Oct 1 14:50:55 BST 2004 (njh) |
2 | 6 |
---------------------------------- |
3 | 7 |
* libclamav/message.c: Fixed handling of the end of yEnc attachments |
... | ... |
@@ -109,7 +109,9 @@ tableFind(const table_t *table, const char *key) |
109 | 109 |
if(table->tableHead == NULL) |
110 | 110 |
return -1; /* not populated yet */ |
111 | 111 |
|
112 |
+#ifdef CL_DEBUG |
|
112 | 113 |
cost = 0; |
114 |
+#endif |
|
113 | 115 |
|
114 | 116 |
for(tableItem = table->tableHead; tableItem; tableItem = tableItem->next) { |
115 | 117 |
#ifdef CL_DEBUG |