Remove unused variable

This commit is contained in:
Pasi Kallinen
2015-06-11 19:36:08 +03:00
parent 183bf0fbf2
commit 4ead443847

View File

@@ -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(