summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-01-25 14:54:54 +0200
committerMavridis Philippe <[email protected]>2021-01-25 14:54:54 +0200
commitb8a317c8eaa52f6b3b1aa2963d761b54218dfc20 (patch)
treeee2ddffbb589b125c757d7401221ee38738a3c3f
parent61d2d83c9f045fbebf5fbe9a82a4b23d5800b813 (diff)
downloadklamav-b8a317c8eaa52f6b3b1aa2963d761b54218dfc20.tar.gz
klamav-b8a317c8eaa52f6b3b1aa2963d761b54218dfc20.zip
Removed #ifdef clause related to support of ancient ClamAV versions.
Signed-off-by: Mavridis Philippe <[email protected]>
-rw-r--r--src/freshklam.cpp4
1 files changed, 0 insertions, 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){