mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2026-02-03 22:26:31 +01:00
JBR-1668: minor fixes - temporary fix for compilation issue SystemHotkey.m:74:29: error: format string is not a string literal
This commit is contained in:
@@ -71,7 +71,10 @@ void plog(int logLevel, const char *formatMsg, ...) {
|
||||
va_start(args, formatMsg);
|
||||
const int bufSize = 512;
|
||||
char buf[bufSize];
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wformat-nonliteral"
|
||||
vsnprintf(buf, bufSize, formatMsg, args);
|
||||
#pragma clang diagnostic pop
|
||||
va_end(args);
|
||||
|
||||
JNIEnv* env;
|
||||
|
||||
Reference in New Issue
Block a user