From b8a317c8eaa52f6b3b1aa2963d761b54218dfc20 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Mon, 25 Jan 2021 14:54:54 +0200 Subject: [PATCH] Removed #ifdef clause related to support of ancient ClamAV versions. Signed-off-by: Mavridis Philippe --- src/freshklam.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/freshklam.cpp b/src/freshklam.cpp index f551025..62e4791 100644 --- a/src/freshklam.cpp +++ b/src/freshklam.cpp @@ -754,11 +754,7 @@ TQString Freshklam::getCurrentDBDir(){ if (dbdir != dir_combo->url()){ /* load all available databases from default directory */ -#ifdef SUPPORT_CLAMAV_V095 ret = cl_load((const char *)dir_combo->url(), engine, &no, CL_DB_STDOPT); -#else - ret = cl_load((const char *)dir_combo->url(), &engine, &no, CL_DB_STDOPT); -#endif //ret = cl_loaddbdir((const char *)dir_combo->url(), &root, &no); ////kdDebug() << "ret " << ret << endl; if (no == 0){