瀏覽代碼

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 20 年之前
父節點
當前提交
d162970284
共有 2 個文件被更改,包括 3 次插入1 次删除
  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) );