From: Ben Pfaff Date: Thu, 4 Sep 2008 16:47:33 +0000 (-0700) Subject: Initialize otherwise uninitialized variable. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2137c4a80ea3c20cd30afb132c35d8dc03ed9297;p=openvswitch Initialize otherwise uninitialized variable. Found by valgrind. --- diff --git a/switch/datapath.c b/switch/datapath.c index c25bc3e1..7382d4c6 100644 --- a/switch/datapath.c +++ b/switch/datapath.c @@ -440,6 +440,7 @@ remote_create(struct datapath *dp, struct rconn *rconn) list_push_back(&dp->remotes, &remote->node); remote->rconn = rconn; remote->cb_dump = NULL; + remote->n_txq = 0; return remote; }