summaryrefslogtreecommitdiff
path: root/ovsdb/trigger.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-11-06 13:14:55 -0800
committerBen Pfaff <blp@nicira.com>2013-01-16 16:03:37 -0800
commitcb22974d773942d66da42b700b8bca0db27a0920 (patch)
tree6412724be1bfc46d7235c4e2105c279bbe20d320 /ovsdb/trigger.c
parent4749f73d12c844b318af7f45cf45e1acac9f7c08 (diff)
downloadopenvswitch-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/trigger.c')
-rw-r--r--ovsdb/trigger.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ovsdb/trigger.c b/ovsdb/trigger.c
index a93b84404..74a1b0fdc 100644
--- a/ovsdb/trigger.c
+++ b/ovsdb/trigger.c
@@ -17,7 +17,6 @@
#include "trigger.h"
-#include <assert.h>
#include <limits.h>
#include "json.h"
@@ -124,7 +123,7 @@ ovsdb_trigger_try(struct ovsdb_trigger *t, long long int now)
static void
ovsdb_trigger_complete(struct ovsdb_trigger *t)
{
- assert(t->result != NULL);
+ ovs_assert(t->result != NULL);
list_remove(&t->node);
list_push_back(&t->session->completions, &t->node);
}