summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9717b1a)
raw | patch | inline | side by side (parent: 9717b1a)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 5 Mar 2017 16:42:28 +0000 (17:42 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 5 Mar 2017 16:42:28 +0000 (17:42 +0100) |
src/ovs_stats.c:158:8: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
static const iface_counter ovs_stats_counter_name_to_type(const char *counter) {
^~~~~~
static const iface_counter ovs_stats_counter_name_to_type(const char *counter) {
^~~~~~
src/ovs_stats.c | patch | blob | history |
diff --git a/src/ovs_stats.c b/src/ovs_stats.c
index 77dc1f2eb7b0a786d9a1c42c4aa128f920ce0384..7a8db93b99b0cb8f2d8fa1a5a450e2891f80c984 100644 (file)
--- a/src/ovs_stats.c
+++ b/src/ovs_stats.c
.ovs_db_serv = "6640", /* use default OVS DB service */
};
-static const iface_counter ovs_stats_counter_name_to_type(const char *counter) {
+static iface_counter ovs_stats_counter_name_to_type(const char *counter) {
iface_counter index = not_supported;
if (counter == NULL)