From 40954e262f305d8d4a9927bc7b90943463eebf25 Mon Sep 17 00:00:00 2001 From: Dennis Friis Date: Thu, 8 May 2008 14:28:26 +0000 Subject: remove an unused var that got left in by mistake. --- src/map/npc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/npc.c b/src/map/npc.c index 84f0695..cdc0fe5 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -995,7 +995,7 @@ int npc_buylist(struct map_session_data *sd,int n,unsigned short *item_list) struct item_data *item_data; if ((item_data = itemdb_exists(item_list[i*2+1])) != NULL) { - int amount = item_list[i*2], flag; + int amount = item_list[i*2]; struct item item_tmp; memset(&item_tmp,0,sizeof(item_tmp)); -- cgit v1.2.3-70-g09d2