From 5b807aa7ef0c2755d186c77c1ddb17f85bc14432 Mon Sep 17 00:00:00 2001 From: Eric Branlund Date: Fri, 20 Aug 2021 16:52:38 -0700 Subject: [PATCH] Remove unused variable in spell_menu_browser() to avoid compiler warning. --- src/ui-spell.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ui-spell.c b/src/ui-spell.c index 21e14c761..880f45da9 100644 --- a/src/ui-spell.c +++ b/src/ui-spell.c @@ -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 */