Explorar o código

Removed compiler warnings in intif.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@158 54d463be-8e91-2dee-dedb-b68131a5f0ec
valaris %!s(int64=20) %!d(string=hai) anos
pai
achega
d162970284
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 2 0
      Changelog.txt
  2. 1 1
      src/map/intif.c

+ 2 - 0
Changelog.txt

@@ -1,6 +1,8 @@
 Date	Added
 11/13
+	* Removed compile warnings in intif.c. [Valaris]
 	* Fixed chrif_changesex and @changesex, now uses packet 0x3000. [MC Cameri]
+
 11/12
 	* added folder: /save-tmpl, removed folder /save
 	* battle_athena.conf: Updated Packet Version Flags.

+ 1 - 1
src/map/intif.c

@@ -617,7 +617,7 @@ int intif_displaymessage(int account_id, char* mes)
 int intif_parse_WisMessage(int fd) { // rewritten by [Yor]
 	struct map_session_data* sd;
 	int id=RFIFOL(fd,4);
-	int i,j=0;
+	int i=0; //,j=0;
 
 //	if(battle_config.etc_log)
 //		printf("intif_parse_wismessage: %d %s %s %s\n",id,RFIFOP(fd,6),RFIFOP(fd,30),RFIFOP(fd,54) );