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 2baab003acc9a40b7fa2e1bbb6f7001bb60bc923..0068f64bd2c0f0b4c1b73126208103dc2efcdc4b 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);