summaryrefslogtreecommitdiffstats
path: root/src/klamav.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-01-14 19:06:47 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-01-14 19:06:47 +0200
commitea73c1340c6e79b8366d0a5e3e6276781b9281f9 (patch)
treea627c8e384e87c2798e9461db8c4fe17b8300659 /src/klamav.cpp
parent7b361d28dfb19a48b0ad2f488116e8ed7d574d9c (diff)
downloadklamav-ea73c1340c6e79b8366d0a5e3e6276781b9281f9.tar.gz
klamav-ea73c1340c6e79b8366d0a5e3e6276781b9281f9.zip
Removed type statement before variable 'config'.
It is redundant since 'config' is globally defined in the appropriate header file (klamav.h). Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/klamav.cpp')
-rw-r--r--src/klamav.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/klamav.cpp b/src/klamav.cpp
index 9865a72..e204169 100644
--- a/src/klamav.cpp
+++ b/src/klamav.cpp
@@ -65,7 +65,7 @@ Klamav::Klamav()
DisableFreshklam->setEnabled(FALSE);
EnableFreshklam->setEnabled(TRUE);
- TDEConfig* config = TDEGlobal::config();
+ config = TDEGlobal::config();
config->setGroup("Freshklam");
TQStringList DatabasePaths = config->readListEntry("lastDownloadPaths");