Address a bunch of dead store issues found by the static analyzer.
Pretty much all of these fall into one of two categories: * Variables that are obviously unneeded and in many cases completely unused – probably remnants of old code that was rewritten. These ones were deleted. * Variables that look like they should be used but aren't. These ones have been suppressed, with a TODO message added as a reminder to investigate them in more detail later.
This commit is contained in:
@@ -155,7 +155,6 @@ void init_menubar() {
|
||||
i = 0;
|
||||
for(eMenu opt : help_choices)
|
||||
setMenuCallback([help_menu itemAtIndex: i++], handler, @selector(menuChoice:), int(opt));
|
||||
i = 0;
|
||||
|
||||
setMenuCallback([mage_spells_menu itemAtIndex: 0], handler, @selector(menuChoice:), int(eMenu::ABOUT_MAGE));
|
||||
setMenuCallback([priest_spells_menu itemAtIndex: 0], handler, @selector(menuChoice:), int(eMenu::ABOUT_PRIEST));
|
||||
|
Reference in New Issue
Block a user