From: Jesse Gross Date: Wed, 27 Jan 2010 20:08:10 +0000 (-0500) Subject: ovs-vsctl: Fix uninitialized variable. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93255bc565f74df887c0278f8e401d3febd7e61a;p=openvswitch ovs-vsctl: Fix uninitialized variable. When querying a row we could return an uninitialized variable in some cases if we can't find what we are looking for. --- diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c index 35a3f397..0eef55f0 100644 --- a/utilities/ovs-vsctl.c +++ b/utilities/ovs-vsctl.c @@ -1745,6 +1745,7 @@ get_row_by_id(struct vsctl_context *ctx, const struct vsctl_table_class *table, return NULL; } + final = NULL; if (id->uuid_column) { struct ovsdb_datum uuid;