Take care of -Wempty-body warning from call to empty PS2DBG macro

ps2comm.c: In function ‘ps2_synaptics_get_packet’:
ps2comm.c:477:49: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
  477 |                 PS2DBG("faked reset received\n");
      |

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-synaptics/-/merge_requests/17>
This commit is contained in:
Alan Coopersmith
2024-05-12 14:42:27 -07:00
committed by Peter Hutterer
parent 7e68eb70ca
commit 6330833fd1

View File

@@ -78,7 +78,7 @@
#ifdef DEBUG
#define PS2DBG(...) ErrorF(__VA_ARGS__)
#else
#define PS2DBG(...)
#define PS2DBG(...) do { } while (0)
#endif
/*****************************************************************************