diff options
author | Ben Pfaff <blp@nicira.com> | 2012-11-06 13:14:55 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-01-16 16:03:37 -0800 |
commit | cb22974d773942d66da42b700b8bca0db27a0920 (patch) | |
tree | 6412724be1bfc46d7235c4e2105c279bbe20d320 /ovsdb/row.c | |
parent | 4749f73d12c844b318af7f45cf45e1acac9f7c08 (diff) | |
download | openvswitch-cb22974d773942d66da42b700b8bca0db27a0920.tar.gz |
Replace most uses of assert by ovs_assert.
This is a straight search-and-replace, except that I also removed #include
<assert.h> from each file where there were no assert calls left.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'ovsdb/row.c')
-rw-r--r-- | ovsdb/row.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ovsdb/row.c b/ovsdb/row.c index 450c32745..9b9f96a2a 100644 --- a/ovsdb/row.c +++ b/ovsdb/row.c @@ -17,7 +17,6 @@ #include "row.h" -#include <assert.h> #include <stddef.h> #include "dynamic-string.h" @@ -376,7 +375,7 @@ ovsdb_row_hash_contains_all(const struct ovsdb_row_hash *a, { struct ovsdb_row_hash_node *node; - assert(ovsdb_column_set_equals(&a->columns, &b->columns)); + ovs_assert(ovsdb_column_set_equals(&a->columns, &b->columns)); HMAP_FOR_EACH (node, hmap_node, &b->rows) { if (!ovsdb_row_hash_contains__(a, node->row, node->hmap_node.hash)) { return false; |