git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use ovs_assert instead of assert
[sliver-openvswitch.git]
/
lib
/
simap.c
diff --git
a/lib/simap.c
b/lib/simap.c
index
f6804aa
..
cc8ddb8
100644
(file)
--- a/
lib/simap.c
+++ b/
lib/simap.c
@@
-16,7
+16,6
@@
#include <config.h>
#include "simap.h"
#include <config.h>
#include "simap.h"
-#include <assert.h>
#include "hash.h"
static size_t hash_name(const char *, size_t length);
#include "hash.h"
static size_t hash_name(const char *, size_t length);
@@
-196,7
+195,7
@@
simap_sort(const struct simap *simap)
SIMAP_FOR_EACH (node, simap) {
nodes[i++] = node;
}
SIMAP_FOR_EACH (node, simap) {
nodes[i++] = node;
}
- assert(i == n);
+
ovs_
assert(i == n);
qsort(nodes, n, sizeof *nodes, compare_nodes_by_name);
qsort(nodes, n, sizeof *nodes, compare_nodes_by_name);