silencing clang on asserts() at the ends of non-void functions