Fixed compilation warnings about unused labels