avoid compiler warning in client/cliparser/argtable3.c (#746)
authorpwpiwi <pwpiwi@users.noreply.github.com>
Fri, 4 Jan 2019 07:53:30 +0000 (08:53 +0100)
committerGitHub <noreply@github.com>
Fri, 4 Jan 2019 07:53:30 +0000 (08:53 +0100)
client/cliparser/argtable3.c

index f70f68c7ea2b0ecbd0431cfc614aff20ed1e6aeb..c661d26f7b30d781976c6c91fe53819c7ce66360 100644 (file)
@@ -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);
 }
 
Impressum, Datenschutz