Explorar el Código

* Removed unreferenced local variable in pc.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6371 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lance hace 19 años
padre
commit
46c0cbffff
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/pc.c

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2006/04/29
+	* Removed unreferenced local variable in pc.c [Lance]
 	* Reverted npc_checknear to exclude check for class_ -1.
 	* Removed npc_checknear in npc_buysellsel, npc_selllist and npc_buylist
 	  as enough preventive measures of hacking are already implemented.

+ 1 - 1
src/map/pc.c

@@ -2919,7 +2919,7 @@ int pc_show_steal(struct block_list *bl,va_list ap)
 //** pc.c: Small Steal Item fix by fritz
 int pc_steal_item(struct map_session_data *sd,struct block_list *bl)
 {
-	int i,j,skill,itemid,flag;
+	int i,skill,itemid,flag;
 	struct mob_data *md;
 	struct item tmp_item;