fix GCC -O0 warning