[exim-cvs] Fix build with content-scan enabled but all malwa…

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Fix build with content-scan enabled but all malware types disabled
Gitweb: https://git.exim.org/exim.git/commitdiff/4e559e21d7def94cc845f8a06b137dd8d864206b
Commit:     4e559e21d7def94cc845f8a06b137dd8d864206b
Parent:     fa792e2ce96b4d6f9e39e350ec967ccb833277a7
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sat Dec 15 14:25:09 2018 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sat Dec 15 14:25:09 2018 +0000


    Fix build with content-scan enabled but all malware types disabled
---
 src/src/malware.c | 1 +
 1 file changed, 1 insertion(+)


diff --git a/src/src/malware.c b/src/src/malware.c
index 541ff3b..521c546 100644
--- a/src/src/malware.c
+++ b/src/src/malware.c
@@ -49,6 +49,7 @@ typedef enum {
 #ifndef DISABLE_MAL_CMDLINE
     M_CMDL,
 #endif
+    M_DUMMY
     } scanner_t;
 typedef enum {MC_NONE, MC_TCP, MC_UNIX, MC_STRM} contype_t;
 static struct scan