From: Ethan Jackson Date: Tue, 29 Mar 2011 00:46:43 +0000 (-0700) Subject: ovs-vsctl: Remove dead code. X-Git-Tag: v1.1.0~55 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e2f8f836717b1688c1ddeb009366eda72f1712e1;p=sliver-openvswitch.git ovs-vsctl: Remove dead code. Coverity #10710. --- diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c index 2baab003a..0068f64bd 100644 --- a/utilities/ovs-vsctl.c +++ b/utilities/ovs-vsctl.c @@ -2502,9 +2502,6 @@ parse_column_key_value(const char *arg, } *valuep = xstrdup(p + best_len); } else { - if (valuep) { - *valuep = NULL; - } if (*p != '\0') { error = xasprintf("%s: trailing garbage \"%s\" in argument", arg, p);