1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-12-26 18:19: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:
Ilya Shipitsin 2018-10-17 15:31:36 +05:00
parent 966a5e6dea
commit 63513259c0

View File

@ -2287,7 +2287,7 @@ void MakeLogFileNameStringFromTick(LOG *g, char *str, UINT size, UINT64 tick, UI
break;
default: // Without switching
snprintf(str, size, "");
snprintf(str, size, "%s");
break;
}