From a28d15e49252a42339b9c5810f0a975979c21830 Mon Sep 17 00:00:00 2001
From: Slávek Banko <slavek.banko@axis.cz>
Date: Sun, 22 Jan 2023 04:33:38 +0100
Subject: Fix FTBFS because of unsigned int use instead of cl_error_t.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
---
 src/dbviewer.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/dbviewer.cpp b/src/dbviewer.cpp
index f198775..7d5e200 100644
--- a/src/dbviewer.cpp
+++ b/src/dbviewer.cpp
@@ -839,8 +839,7 @@ void KlamDB::addVirusName(char *start)
 
 unsigned int  KlamDB::getSigNos()
 {
-        
-    unsigned int ret= 0;
+    cl_error_t ret  = CL_CLEAN;
     unsigned int no = 0;
     struct cl_engine *engine = NULL;
     TQStringList lastDownloadPaths;
-- 
cgit v1.2.3

