From: Philippe Proulx Date: Fri, 26 May 2017 05:02:18 +0000 (-0400) Subject: Replace all assert(false) and assert(0) with abort() X-Git-Tag: v2.0.0-pre1~161 X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=0fbb9a9fffe22e0d5211a47118102fa0ba4a766a;hp=0fbb9a9fffe22e0d5211a47118102fa0ba4a766a;p=babeltrace.git Replace all assert(false) and assert(0) with abort() Because assert() statements are not executed with a release/production build, assert(false) and assert(0) statements are ignored and the program's execution continues in an unexpected state. This could lead to very weird and hard-to-debug situations, and potentially to corrupted output traces. Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau ---