Fix for -Werror=unused-result