diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-09-05 14:36:15 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-09-08 17:06:14 +0200 |
commit | 94d56aa5e1bd12fd462cb65537b826bc0d0c4c66 (patch) | |
tree | 89c68e763a6ba70e08ff42dc53892a94d8eb937e | |
parent | 9a7d8509efe4ac509b082cbffa24e52a7697926c (diff) |
lib/ioctl_wrappers: make the valgrind wrapper always emit a statement:w
gcc complains otherwise about empty ; statements ...
Acked-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Acked-by: Petri Latvala <petri.latvala@intel.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Acked-by: Radoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | lib/ioctl_wrappers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c index 42b5ec4e..51b6b7b6 100644 --- a/lib/ioctl_wrappers.c +++ b/lib/ioctl_wrappers.c @@ -60,7 +60,7 @@ #define VG(x) x #else -#define VG(x) +#define VG(x) do {} while (0) #endif #include "ioctl_wrappers.h" |