proper fix to assert system and clang's -Wunused-value