mirror of
https://github.com/openvswitch/ovs
synced 2025-10-13 14:07:02 +00:00
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>
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
#include <config.h>
|
||||
#include "reconnect.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "poll-loop.h"
|
||||
@@ -503,7 +502,7 @@ reconnect_transition__(struct reconnect *fsm, long long int now,
|
||||
static long long int
|
||||
reconnect_deadline__(const struct reconnect *fsm)
|
||||
{
|
||||
assert(fsm->state_entered != LLONG_MIN);
|
||||
ovs_assert(fsm->state_entered != LLONG_MIN);
|
||||
switch (fsm->state) {
|
||||
case S_VOID:
|
||||
case S_LISTENING:
|
||||
|
Reference in New Issue
Block a user