From: Ethan Jackson Date: Tue, 29 Mar 2011 00:46:43 +0000 (-0700) Subject: ovs-vsctl: Remove dead code. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2f8f836717b1688c1ddeb009366eda72f1712e1;p=openvswitch ovs-vsctl: Remove dead code. Coverity #10710. --- diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c index 2baab003..0068f64b 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);