diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-29 10:12:26 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-29 10:12:26 +0000 |
commit | 98854fb7d9b029157c5fd02701763301923cfc61 (patch) | |
tree | 39ff4820dc6c4abdb1d838e266a4bfcde10f1161 | |
parent | 9e62c33d9ee58d7dcf1c667a77b3fdd814bc0943 (diff) | |
download | hercules-98854fb7d9b029157c5fd02701763301923cfc61.tar.gz hercules-98854fb7d9b029157c5fd02701763301923cfc61.tar.bz2 hercules-98854fb7d9b029157c5fd02701763301923cfc61.tar.xz hercules-98854fb7d9b029157c5fd02701763301923cfc61.zip |
[Optimized ]
Removed unused variable (account_id) in storage_guild_storagesaved.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6815 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/intif.c | 2 | ||||
-rw-r--r-- | src/map/storage.c | 2 | ||||
-rw-r--r-- | src/map/storage.h | 2 | ||||
-rw-r--r-- | vcproj-7.1/char-server_sql.vcproj | 3 | ||||
-rw-r--r-- | vcproj-7.1/char-server_txt.vcproj | 3 | ||||
-rw-r--r-- | vcproj-7.1/login-server_sql.vcproj | 3 | ||||
-rw-r--r-- | vcproj-7.1/login-server_txt.vcproj | 3 |
8 files changed, 9 insertions, 11 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 56e260eda..e89c136bf 100644 --- a/Changelog-Trunk.txt +++ b/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]
diff --git a/src/map/intif.c b/src/map/intif.c index 0046d0c0c..926d03335 100644 --- a/src/map/intif.c +++ b/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;
}
diff --git a/src/map/storage.c b/src/map/storage.c index a0c82e839..cb51327f3 100644 --- a/src/map/storage.c +++ b/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;
diff --git a/src/map/storage.h b/src/map/storage.h index 946dfa62b..40e11331b 100644 --- a/src/map/storage.h +++ b/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);
diff --git a/vcproj-7.1/char-server_sql.vcproj b/vcproj-7.1/char-server_sql.vcproj index ee1d7f109..877f35c31 100644 --- a/vcproj-7.1/char-server_sql.vcproj +++ b/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">
diff --git a/vcproj-7.1/char-server_txt.vcproj b/vcproj-7.1/char-server_txt.vcproj index 67162d6a5..f5c70df22 100644 --- a/vcproj-7.1/char-server_txt.vcproj +++ b/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">
diff --git a/vcproj-7.1/login-server_sql.vcproj b/vcproj-7.1/login-server_sql.vcproj index d2ed615b8..c9a0c2eb2 100644 --- a/vcproj-7.1/login-server_sql.vcproj +++ b/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">
diff --git a/vcproj-7.1/login-server_txt.vcproj b/vcproj-7.1/login-server_txt.vcproj index 1e9d711be..8a10a99cf 100644 --- a/vcproj-7.1/login-server_txt.vcproj +++ b/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">
|