[PATCH 2/3] Fix Wunused-return warnings