[FIX] fixes gcc warning/error for unreachable code