1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 01:49:53 +03:00

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

found by coverity
This commit is contained in:
Ilya Shipitsin 2018-08-12 14:56:44 +05:00
parent 2e503640ab
commit 4f02bafc66

View File

@ -133,7 +133,7 @@ void BackupCfgWEx(CFG_RW *rw, FOLDER *f, wchar_t *original, UINT revision_number
wchar_t datestr[MAX_PATH]; wchar_t datestr[MAX_PATH];
SYSTEMTIME st; SYSTEMTIME st;
// Validate arguments // Validate arguments
if (f == NULL || filename == NULL || rw == NULL) if (f == NULL || rw == NULL)
{ {
return; return;
} }