From 71d2e21ff496bc9ce2d0e6a59853442f71a57c9c Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sun, 5 Mar 2017 17:42:28 +0100 Subject: [PATCH] ovs_stats plugin: fix build warning 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) { ^~~~~~ --- src/ovs_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ovs_stats.c b/src/ovs_stats.c index 77dc1f2e..7a8db93b 100644 --- a/src/ovs_stats.c +++ b/src/ovs_stats.c @@ -155,7 +155,7 @@ static ovs_stats_config_t ovs_stats_cfg = { .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) -- 2.11.0