diff options
| author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-08-22 16:04:40 +1000 |
|---|---|---|
| committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-08-29 11:36:20 +1000 |
| commit | 0309ca0ee59f478313e9029ee732add46300761d (patch) | |
| tree | 1340235d35dce3597a214f3fef24cd72c567cd4c /libevdev/libevdev-int.h | |
| parent | a3e8a240ab7618e11ce77e18957a4b6f308c939b (diff) | |
| download | libevdev-0309ca0ee59f478313e9029ee732add46300761d.tar.gz | |
Ignore -Woverride-init in event-names.h
Having the declarations in the form of [0...EV_MAX] = NULL together
with the actual definitions causes warnings for every true definition if
-Woverride-init is enabled.
We can drop them for most as they're zero, but still need them for
ev_max (which defaults to -1), not zero. So use the GCC pragma to
disable the warnings for this file.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'libevdev/libevdev-int.h')
0 files changed, 0 insertions, 0 deletions
