mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +03:00
src/Cedar/Logging.c: clean compiler warning
warning: zero-length gnu_printf format string [-Wformat-zero-length]
This commit is contained in:
parent
966a5e6dea
commit
63513259c0
@ -2287,7 +2287,7 @@ void MakeLogFileNameStringFromTick(LOG *g, char *str, UINT size, UINT64 tick, UI
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default: // Without switching
|
default: // Without switching
|
||||||
snprintf(str, size, "");
|
snprintf(str, size, "%s");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user