XCode build is now completely warning free

This commit is contained in:
2015-06-21 18:22:20 -04:00
parent b7faf52f5e
commit 41fb8bd056
5 changed files with 12 additions and 4 deletions

View File

@@ -1247,6 +1247,7 @@ static bool handle_toolpal_action(location cur_point2) {
temp_rect.offset(RIGHT_AREA_UL_X + 5, RIGHT_AREA_UL_Y + terrain_rects[255].bottom + 5);
flash_rect(temp_rect);
switch(cur_palette_buttons[j][i]) {
case PAL_ARROW_UP: case PAL_ARROW_DOWN: // These two might never be used.
case PAL_BLANK: break;
case PAL_PENCIL:
set_string("Drawing mode",scenario.ter_types[current_terrain_type].name);

View File

@@ -24,7 +24,8 @@ extern bool change_made, ae_loading;
@interface AppleEventHandler : NSObject<NSApplicationDelegate>
-(BOOL)application:(NSApplication*) app openFile:(NSString*) file;
-(NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication*) sender;
// TODO: Handle quit event by putting up quit dialog
//-(NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication*) sender;
@end
void set_up_apple_events(int argc, char* argv[]); // Suppress "no prototype" warning

View File

@@ -510,7 +510,7 @@ void handle_menu_choice(eMenu item_hit) {
if(isEdit) {
if(!cDialog::sendInput(editKey)) {
// Handle non-dialog edit operations here.
switch(editKey.k) {}
// switch(editKey.k) {}
}
}
if(isHelp)