From 0ee451040d57610f1965ef2a78dd4a2e8f5b3442 Mon Sep 17 00:00:00 2001 From: emanuele-f Date: Sun, 18 Nov 2018 12:50:53 +0100 Subject: Warning fix --- example/ndpiReader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example') 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); -- cgit v1.2.3