src/Mayaqua/Cfg.c: Array compared against NULL is always false

found by coverity
This commit is contained in:
Ilya Shipitsin committed 2018-08-12 14:56:44 +05:00
1 parent 2e503640ab
commit 4f02bafc66
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}