Skip to content

Commit

Permalink
Merge pull request #75 from backwardsEric/ui-spell-unused-variable
Browse files Browse the repository at this point in the history
Remove unused variable in spell_menu_browser() to avoid compiler warning
  • Loading branch information
NickMcConnell authored Aug 21, 2021
2 parents f12cbf6 + 5b807aa commit 3907039
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ui-spell.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ static void spell_menu_browser(int oid, void *data, const region *loc)
{
struct spell_menu_data *d = data;
int spell_index = d->spells[oid];
const struct class_spell *spell = spell_by_index(player, spell_index);

if (d->show_description) {
/* Redirect output to the screen */
Expand Down

0 comments on commit 3907039

Please sign in to comment.