From 724d59ba57f019d725a6060e29acc436dd74e365 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 20 Aug 2015 11:20:17 +1000 Subject: [PATCH] Fix a compiler warning hidpp10.c:71:11: warning: initialized field overwritten [-Woverride-init] [0x06] = "ERR_ALREADY_EXISTS", Signed-off-by: Peter Hutterer --- src/hidpp10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hidpp10.c b/src/hidpp10.c index af8c5128..404a01c1 100644 --- a/src/hidpp10.c +++ b/src/hidpp10.c @@ -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",