From 63513259c0065fd28799e546bdc67411f346ae78 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Wed, 17 Oct 2018 15:31:36 +0500 Subject: [PATCH] src/Cedar/Logging.c: clean compiler warning warning: zero-length gnu_printf format string [-Wformat-zero-length] --- src/Cedar/Logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cedar/Logging.c b/src/Cedar/Logging.c index a770f9e6..dbca0b26 100644 --- a/src/Cedar/Logging.c +++ b/src/Cedar/Logging.c @@ -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; }