mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +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:
@@ -16,7 +16,6 @@
|
||||
|
||||
#include <config.h>
|
||||
#include "poll-loop.h"
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
#include <poll.h>
|
||||
@@ -289,7 +288,7 @@ static struct poll_waiter *
|
||||
new_waiter(int fd, short int events, const char *where)
|
||||
{
|
||||
struct poll_waiter *waiter = xzalloc(sizeof *waiter);
|
||||
assert(fd >= 0);
|
||||
ovs_assert(fd >= 0);
|
||||
waiter->fd = fd;
|
||||
waiter->events = events;
|
||||
waiter->where = where;
|
||||
|
Reference in New Issue
Block a user