From: Ben Pfaff Date: Fri, 20 Nov 2009 23:40:11 +0000 (-0800) Subject: ovsdb: Rename variable to better describe its purpose. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bf4c631ae776f4e936b5f01efe4bfbe190f5d99;p=openvswitch ovsdb: Rename variable to better describe its purpose. Apparently a cut-and-paste error gave this variable a deceptive name. --- diff --git a/ovsdb/column.c b/ovsdb/column.c index fc21cdc9..dc93dc71 100644 --- a/ovsdb/column.c +++ b/ovsdb/column.c @@ -31,16 +31,16 @@ ovsdb_column_create(const char *name, const char *comment, bool mutable, bool persistent, const struct ovsdb_type *type) { - struct ovsdb_column *ts; + struct ovsdb_column *column; - ts = xzalloc(sizeof *ts); - ts->name = xstrdup(name); - ts->comment = comment ? xstrdup(comment) : NULL; - ts->mutable = mutable; - ts->persistent = persistent; - ts->type = *type; + column = xzalloc(sizeof *column); + column->name = xstrdup(name); + column->comment = comment ? xstrdup(comment) : NULL; + column->mutable = mutable; + column->persistent = persistent; + column->type = *type; - return ts; + return column; } void