More sonarlint work
This commit is contained in:
@@ -623,21 +623,21 @@ static int keysyms_ff[] = {
|
||||
|
||||
#ifdef ENABLE_VNC_KEYMAP_LOG
|
||||
int vnc_keymap_do_log = ENABLE_VNC_KEYMAP_LOG;
|
||||
#endif
|
||||
|
||||
static void
|
||||
vnc_keymap_log(const char *format, ...)
|
||||
vnc_keymap_log(const char *fmt, ...)
|
||||
{
|
||||
#ifdef ENABLE_VNC_KEYMAP_LOG
|
||||
va_list ap;
|
||||
|
||||
if (vnc_keymap_do_log) {
|
||||
va_start(ap, format);
|
||||
pclog_ex(format, ap);
|
||||
va_start(ap, fmt);
|
||||
pclog_ex(fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
# define vnc_keymap_log(fmt, ...)
|
||||
#endif
|
||||
|
||||
void
|
||||
vnc_kbinput(int down, int k)
|
||||
|
||||
Reference in New Issue
Block a user