summaryrefslogtreecommitdiff
path: root/ovn/controller-vtep
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2016-06-28 22:02:25 -0700
committerBen Pfaff <blp@ovn.org>2016-07-02 21:22:17 -0700
commit38e7f9bfd1e99fb2d12508006ff56a9d59995a7c (patch)
tree45710f1cb1998cf44709278a775a750343f8c015 /ovn/controller-vtep
parent75cbba3d6bd3868031fbb0e44ac9badc666b5044 (diff)
downloadopenvswitch-38e7f9bfd1e99fb2d12508006ff56a9d59995a7c.tar.gz
ovn-controller-vtep: Remove dead increment.
Found by Clang. Signed-off-by: William Tu <u9012063@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovn/controller-vtep')
-rw-r--r--ovn/controller-vtep/ovn-controller-vtep.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ovn/controller-vtep/ovn-controller-vtep.c b/ovn/controller-vtep/ovn-controller-vtep.c
index bad3316f8..36005ed9a 100644
--- a/ovn/controller-vtep/ovn-controller-vtep.c
+++ b/ovn/controller-vtep/ovn-controller-vtep.c
@@ -230,9 +230,6 @@ parse_options(int argc, char *argv[])
}
free(short_options);
- argc -= optind;
- argv += optind;
-
if (!ovnsb_remote) {
ovnsb_remote = xstrdup(default_db());
}