summaryrefslogtreecommitdiffstats
path: root/src/dbviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbviewer.cpp')
-rw-r--r--src/dbviewer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dbviewer.cpp b/src/dbviewer.cpp
index 7d5e200..c085ddd 100644
--- a/src/dbviewer.cpp
+++ b/src/dbviewer.cpp
@@ -839,7 +839,11 @@ void KlamDB::addVirusName(char *start)
unsigned int KlamDB::getSigNos()
{
+# if defined(USE_CL_ERROR_T)
cl_error_t ret = CL_CLEAN;
+# else
+ unsigned int ret= 0;
+# endif
unsigned int no = 0;
struct cl_engine *engine = NULL;
TQStringList lastDownloadPaths;