mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-03-24 01:34:04 +00:00
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:
committed by
Peter Hutterer
parent
7e68eb70ca
commit
6330833fd1
@@ -78,7 +78,7 @@
|
||||
#ifdef DEBUG
|
||||
#define PS2DBG(...) ErrorF(__VA_ARGS__)
|
||||
#else
|
||||
#define PS2DBG(...)
|
||||
#define PS2DBG(...) do { } while (0)
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user