Fix a compiler warning

hidpp10.c:71:11: warning: initialized field overwritten [-Woverride-init]
  [0x06] = "ERR_ALREADY_EXISTS",

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2015-08-20 11:20:17 +10:00
parent 4f77454bcc
commit 724d59ba57

View File

@@ -67,7 +67,7 @@ const char *device_types[0xFF] = {
[0x02] = "Mouse",
[0x03] = "Numpad",
[0x04] = "Presenter",
[0x05 ... 0x07] = "Reserved for future",
[0x05] = "Reserved for future",
[0x06] = "ERR_ALREADY_EXISTS",
[0x07] = "ERR_BUSY",
[0x08] = "Trackball",