mirror of
https://github.com/openvswitch/ovs
synced 2025-10-19 14:37:21 +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 "random.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/time.h>
|
||||
@@ -59,7 +58,7 @@ random_init(void)
|
||||
void
|
||||
random_set_seed(uint32_t seed_)
|
||||
{
|
||||
assert(seed_);
|
||||
ovs_assert(seed_);
|
||||
seed = seed_;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user