summaryrefslogtreecommitdiff
path: root/lib/librte_cmdline
diff options
context:
space:
mode:
authorZijie Pan <zijie.pan@6wind.com>2012-12-04 17:17:43 +0800
committerThomas Monjalon <thomas.monjalon@6wind.com>2013-07-25 16:07:51 +0200
commitcddaf87a1ecb8e44e934913a55703f9a568584d4 (patch)
tree7a42f4efd74cad5954b35a633741948215760260 /lib/librte_cmdline
parentd55d942fa9ed42c3843f9108d46b757630b82957 (diff)
downloaddpdk-cddaf87a1ecb8e44e934913a55703f9a568584d4.zip
dpdk-cddaf87a1ecb8e44e934913a55703f9a568584d4.tar.gz
dpdk-cddaf87a1ecb8e44e934913a55703f9a568584d4.tar.xz
lib: fix unused values
Fix warnings of type "Value stored to 'xxx' is never read". Signed-off-by: Zijie Pan <zijie.pan@6wind.com> Acked-by: Ivan Boule <ivan.boule@6wind.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Diffstat (limited to 'lib/librte_cmdline')
-rw-r--r--lib/librte_cmdline/cmdline_parse_ipaddr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/librte_cmdline/cmdline_parse_ipaddr.c b/lib/librte_cmdline/cmdline_parse_ipaddr.c
index 7659a1d..4ab3ac3 100644
--- a/lib/librte_cmdline/cmdline_parse_ipaddr.c
+++ b/lib/librte_cmdline/cmdline_parse_ipaddr.c
@@ -266,7 +266,6 @@ inet_pton6(const char *src, unsigned char *dst)
inet_pton4(curtok, tp) > 0) {
tp += INADDRSZ;
saw_xdigit = 0;
- count_xdigit = 0;
dbloct_count += 2;
break; /* '\0' was seen by inet_pton4(). */
}