From e2f8f836717b1688c1ddeb009366eda72f1712e1 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Mon, 28 Mar 2011 17:46:43 -0700 Subject: [PATCH] ovs-vsctl: Remove dead code. Coverity #10710. --- utilities/ovs-vsctl.c | 3 --- 1 file changed, 3 deletions(-) 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); -- 2.30.2