Nuke nearly all of the unused local variables

This commit is contained in:
2014-04-15 02:54:16 -04:00
parent e73d14e0ee
commit 2b924101d6
22 changed files with 17 additions and 95 deletions

View File

@@ -71,7 +71,6 @@ void showMenuBar() {
void adjust_monst_menu() {
short i,monst_pos = 0;
NSMenu* monst_menu;
char monst_name[256];
if(overall_mode == MODE_STARTUP) return;
@@ -109,7 +108,7 @@ void setMenuCallback(NSMenuItem* item, id targ, SEL selector, int num) {
void init_menubar() {
NSApplication* app = [NSApplication sharedApplication];
BOOL loaded = [NSBundle loadNibNamed: @"menu" owner: app];
[NSBundle loadNibNamed: @"menu" owner: app];
menu_bar_handle = [app mainMenu];
apple_menu = [[menu_bar_handle itemWithTitle: @"Blades of Exile"] submenu];