summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-03-24 15:22:15 +0100
committerBastien Nocera <hadess@hadess.net>2017-03-24 15:46:40 +0100
commit4292226e5c4b7fc6c1f076670c97bbdfd120a8f9 (patch)
tree8595df7b5f424e8067feea218ffe6f644e957128 /src
parent4be1efe8194904db9cb5f79f54bf8c52731e0c45 (diff)
linux: Fix compilation warning
duplicate ‘const’ declaration specifier We can't use a const char const because we actually want to assign values to elements of the array.
Diffstat (limited to 'src')
-rw-r--r--src/linux/up-device-supply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/up-device-supply.c b/src/linux/up-device-supply.c
index 304e887..f023356 100644
--- a/src/linux/up-device-supply.c
+++ b/src/linux/up-device-supply.c
@@ -910,7 +910,7 @@ up_device_supply_get_sibling_with_subsystem (GUdevDevice *device,
GUdevDevice *parent;
GUdevClient *client;
GUdevDevice *sibling;
- const char const *class[] = { NULL, NULL };
+ const char * class[] = { NULL, NULL };
const char *parent_path;
GList *devices, *l;