From: Pasi Kallinen Date: Thu, 11 Jun 2015 16:36:08 +0000 (+0300) Subject: Remove unused variable X-Git-Tag: NetHack-3.6.0_RC01~272^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ead4438477f93168bc84b9a8ccd4fefe16f168a;p=nethack Remove unused variable --- diff --git a/src/options.c b/src/options.c index d6c7b9553..acb1f39bc 100644 --- a/src/options.c +++ b/src/options.c @@ -4805,7 +4805,6 @@ const char *mapping; { struct autopickup_exception *ape, **apehead; char text[256], *text2; - int textsize = 0; boolean grab = FALSE; if (sscanf(mapping, "\"%255[^\"]\"", text) == 1) { @@ -4817,7 +4816,6 @@ const char *mapping; grab = FALSE; ++text2; } - textsize = strlen(text2); apehead = (grab) ? &iflags.autopickup_exceptions[AP_GRAB] : &iflags.autopickup_exceptions[AP_LEAVE]; ape = (struct autopickup_exception *) alloc(