[network-manager-applet: 10/13] build: fix compiler warning about duplicate const specifier
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet: 10/13] build: fix compiler warning about duplicate const specifier
- Date: Wed, 29 Oct 2014 09:12:07 +0000 (UTC)
commit 990afe4fd86fc9f304641b521d25430db8e2b16f
Author: Thomas Haller <thaller redhat com>
Date: Mon Oct 27 15:39:10 2014 +0100
build: fix compiler warning about duplicate const specifier
clang warns:
make[4]: Entering directory `./network-manager-applet/src'
CC nm_applet-ap-menu-item.o
ap-menu-item.c:188:7: error: duplicate 'const' declaration specifier
[-Werror,-Wduplicate-decl-specifier]
const const char *
^~~~~~
Signed-off-by: Thomas Haller <thaller redhat com>
src/ap-menu-item.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ap-menu-item.c b/src/ap-menu-item.c
index ad60d6b..b345a1c 100644
--- a/src/ap-menu-item.c
+++ b/src/ap-menu-item.c
@@ -185,7 +185,7 @@ nm_network_menu_item_best_strength (NMNetworkMenuItem * item,
g_object_unref (pixbuf);
}
-const const char *
+const char *
nm_network_menu_item_get_hash (NMNetworkMenuItem * item)
{
g_return_val_if_fail (item != NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]