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:
parent
2e503640ab
commit
4f02bafc66
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user