aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremanuele-f <black.silver@hotmail.it>2018-11-18 12:50:53 +0100
committeremanuele-f <black.silver@hotmail.it>2018-11-18 12:50:53 +0100
commit0ee451040d57610f1965ef2a78dd4a2e8f5b3442 (patch)
tree873b160e66afa848d8f16d256dd546386e096fb6
parent22c2568c276aaa81c6131b3a6a7bc8c0c6cdc5b7 (diff)
Warning fix
-rw-r--r--example/ndpiReader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 89f5714a8..d9e150be7 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -2703,7 +2703,7 @@ void test_lib() {
void automataUnitTest() {
void *automa;
- assert(automa = ndpi_init_automa());
+ assert((automa = ndpi_init_automa()));
assert(ndpi_add_string_to_automa(automa, "hello") == 0);
assert(ndpi_add_string_to_automa(automa, "world") == 0);
ndpi_finalize_automa(automa);