From 968ad672808c4bd4ae0d413bbe877f263e3f8228 Mon Sep 17 00:00:00 2001 From: pwpiwi Date: Fri, 4 Jan 2019 08:53:30 +0100 Subject: [PATCH] avoid compiler warning in client/cliparser/argtable3.c (#746) --- client/cliparser/argtable3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/cliparser/argtable3.c b/client/cliparser/argtable3.c index f70f68c7..c661d26f 100644 --- a/client/cliparser/argtable3.c +++ b/client/cliparser/argtable3.c @@ -389,7 +389,9 @@ static void warnx(const char *fmt, ...) #endif va_end(ap); +#if defined(_MSC_VER) #pragma warning(suppress: 6053) +#endif fprintf(stderr, "%s\n", opterrmsg); } -- 2.39.5