More sonarlint work

This commit is contained in:
Jasmine Iwanek
2023-06-09 23:46:54 -04:00
parent 0d1d069af4
commit ee695e71f9
218 changed files with 6282 additions and 3845 deletions

View File

@@ -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)