summaryrefslogtreecommitdiff
path: root/ovsdb/table.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-05-04 13:49:42 -0700
committerBen Pfaff <blp@nicira.com>2011-05-16 13:40:47 -0700
commite3c17733704fd54fa937ed5e1e8c4b51e00961f1 (patch)
tree78dd7e21f574d1a4614df73fd79e0b239e93201c /ovsdb/table.c
parent1102893de4f14a2d184afc640c9a1edf778c6a93 (diff)
downloadopenvswitch-e3c17733704fd54fa937ed5e1e8c4b51e00961f1.tar.gz
Consistently write null pointer constants as NULL instead of 0.
Found with sparse.
Diffstat (limited to 'ovsdb/table.c')
-rw-r--r--ovsdb/table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ovsdb/table.c b/ovsdb/table.c
index 2f693501b..2ea73bf8a 100644
--- a/ovsdb/table.c
+++ b/ovsdb/table.c
@@ -157,7 +157,7 @@ ovsdb_table_schema_from_json(const struct json *json, const char *name,
add_column(ts, column);
}
*tsp = ts;
- return 0;
+ return NULL;
}
/* Returns table schema 'ts' serialized into JSON.