mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Correct asserts
This commit is contained in:
parent
a7daa70942
commit
90ea5b6010
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2015, Intel Corporation
|
* Copyright (c) 2015-2016, Intel Corporation
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
@ -245,14 +245,14 @@ int isMultiTopType(u8 t) {
|
|||||||
/* Use for functions that return an integer. */
|
/* Use for functions that return an integer. */
|
||||||
#define NFA_API_NO_IMPL(...) \
|
#define NFA_API_NO_IMPL(...) \
|
||||||
({ \
|
({ \
|
||||||
assert("not implemented for this engine!"); \
|
assert(!"not implemented for this engine!"); \
|
||||||
0; /* return value, for places that need it */ \
|
0; /* return value, for places that need it */ \
|
||||||
})
|
})
|
||||||
|
|
||||||
/* Use for _zombie_status functions. */
|
/* Use for _zombie_status functions. */
|
||||||
#define NFA_API_ZOMBIE_NO_IMPL(...) \
|
#define NFA_API_ZOMBIE_NO_IMPL(...) \
|
||||||
({ \
|
({ \
|
||||||
assert("not implemented for this engine!"); \
|
assert(!"not implemented for this engine!"); \
|
||||||
NFA_ZOMBIE_NO; \
|
NFA_ZOMBIE_NO; \
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user