From 4f02bafc66f72206eba0c0914f4ceaa3de9dac65 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sun, 12 Aug 2018 14:56:44 +0500 Subject: [PATCH] src/Mayaqua/Cfg.c: Array compared against NULL is always false found by coverity --- src/Mayaqua/Cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mayaqua/Cfg.c b/src/Mayaqua/Cfg.c index a5fed440..895321b7 100644 --- a/src/Mayaqua/Cfg.c +++ b/src/Mayaqua/Cfg.c @@ -133,7 +133,7 @@ void BackupCfgWEx(CFG_RW *rw, FOLDER *f, wchar_t *original, UINT revision_number wchar_t datestr[MAX_PATH]; SYSTEMTIME st; // Validate arguments - if (f == NULL || filename == NULL || rw == NULL) + if (f == NULL || rw == NULL) { return; }