浏览代码

[Optimized ]
Removed unused variable (account_id) in storage_guild_storagesaved.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6815 54d463be-8e91-2dee-dedb-b68131a5f0ec

Lance 19 年之前
父节点
当前提交
bdac5d6c09

+ 2 - 0
Changelog-Trunk.txt

@@ -4,6 +4,8 @@ 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/05/29
+	* [Optimized ]:
+	  - Removed unused variable (account_id) in storage_guild_storagesaved.
 	* [Optimized]:
 	  - Removed unused checks for unsigned data type and possible logic error for
 	    char type (gcc treats char as unsigned). [Lance]

+ 1 - 1
src/map/intif.c

@@ -1003,7 +1003,7 @@ int intif_parse_SaveGuildStorage(int fd)
 	if(battle_config.save_log) {
 		ShowInfo("intif_save_guild_storage: done %d %d %d\n",RFIFOL(fd,2),RFIFOL(fd,6),RFIFOB(fd,10) );
 	}
-	storage_guild_storagesaved(RFIFOL(fd,2), RFIFOL(fd,6));
+	storage_guild_storagesaved(/*RFIFOL(fd,2), */RFIFOL(fd,6));
 	return 0;
 }
 

+ 1 - 1
src/map/storage.c

@@ -664,7 +664,7 @@ int storage_guild_storagesave(int account_id, int guild_id)
 	return 0;
 }
 
-int storage_guild_storagesaved(int account_id, int guild_id)
+int storage_guild_storagesaved(int guild_id)
 {
 	struct guild_storage *stor;
 

+ 1 - 1
src/map/storage.h

@@ -35,7 +35,7 @@ int storage_guild_storagegettocart(struct map_session_data *sd,int index,int amo
 int storage_guild_storageclose(struct map_session_data *sd);
 int storage_guild_storage_quit(struct map_session_data *sd,int flag);
 int storage_guild_storagesave(int account_id, int guild_id);
-int storage_guild_storagesaved(int account_id, int guild_id); //Ack from char server that guild store was saved.
+int storage_guild_storagesaved(int guild_id); //Ack from char server that guild store was saved.
 
 int storage_comp_item(const void *_i1, const void *_i2);
 //int storage_comp_item(const struct item* i1, const struct item* i2);

+ 1 - 2
vcproj-7.1/char-server_sql.vcproj

@@ -149,8 +149,7 @@
 				RelativePath="..\src\common\db.c">
 			</File>
 			<File
-				RelativePath="..\src\common\ers.c"
-				>
+				RelativePath="..\src\common\ers.c">
 			</File>
 			<File
 				RelativePath="..\src\common\graph.c">

+ 1 - 2
vcproj-7.1/char-server_txt.vcproj

@@ -147,8 +147,7 @@
 				RelativePath="..\src\common\db.c">
 			</File>
 			<File
-				RelativePath="..\src\common\ers.c"
-				>
+				RelativePath="..\src\common\ers.c">
 			</File>
 			<File
 				RelativePath="..\src\common\graph.c">

+ 1 - 2
vcproj-7.1/login-server_sql.vcproj

@@ -148,8 +148,7 @@
 				RelativePath="..\src\common\db.c">
 			</File>
 			<File
-				RelativePath="..\src\common\ers.c"
-				>
+				RelativePath="..\src\common\ers.c">
 			</File>
 			<File
 				RelativePath="..\src\common\graph.c">

+ 1 - 2
vcproj-7.1/login-server_txt.vcproj

@@ -150,8 +150,7 @@
 				RelativePath="..\src\common\db.c">
 			</File>
 			<File
-				RelativePath="..\src\common\ers.c"
-				>
+				RelativePath="..\src\common\ers.c">
 			</File>
 			<File
 				RelativePath="..\src\common\graph.c">