ovs-vsctl: Remove dead code.
authorEthan Jackson <ethan@nicira.com>
Tue, 29 Mar 2011 00:46:43 +0000 (17:46 -0700)
committerEthan Jackson <ethan@nicira.com>
Tue, 29 Mar 2011 17:45:29 +0000 (10:45 -0700)
Coverity #10710.

utilities/ovs-vsctl.c

index 2baab00..0068f64 100644 (file)
@@ -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);