mirror of
https://github.com/openvswitch/ovs
synced 2025-10-23 14:57:06 +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:
@@ -530,7 +530,7 @@ void *ofpact_put(struct ofpbuf *, enum ofpact_type, size_t len);
|
||||
static inline struct STRUCT * \
|
||||
ofpact_get_##ENUM(const struct ofpact *ofpact) \
|
||||
{ \
|
||||
assert(ofpact->type == OFPACT_##ENUM); \
|
||||
ovs_assert(ofpact->type == OFPACT_##ENUM); \
|
||||
return (struct STRUCT *) ofpact; \
|
||||
} \
|
||||
\
|
||||
|
||||
Reference in New Issue
Block a user