From: Ben Pfaff Date: Tue, 2 Nov 2010 23:20:36 +0000 (-0700) Subject: in-band: Make in_band_create() always initialize its output argument. X-Git-Tag: v1.1.0~914 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=928ef386127b45b8b0260b35cbdc8e0d24911a30;p=sliver-openvswitch.git in-band: Make in_band_create() always initialize its output argument. This isn't a bug fix but it seems like a good thing to do. --- diff --git a/ofproto/in-band.c b/ofproto/in-band.c index 639f9f55a..efc9c8acc 100644 --- a/ofproto/in-band.c +++ b/ofproto/in-band.c @@ -768,6 +768,7 @@ in_band_create(struct ofproto *ofproto, struct dpif *dpif, struct netdev *local_netdev; int error; + *in_bandp = NULL; error = dpif_port_get_name(dpif, ODPP_LOCAL, local_name, sizeof local_name); if (error) {