[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
This commit is contained in:
parent
a28e9d802c
commit
bdac5d6c09
@ -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.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
2006/05/29
|
2006/05/29
|
||||||
|
* [Optimized ]:
|
||||||
|
- Removed unused variable (account_id) in storage_guild_storagesaved.
|
||||||
* [Optimized]:
|
* [Optimized]:
|
||||||
- Removed unused checks for unsigned data type and possible logic error for
|
- Removed unused checks for unsigned data type and possible logic error for
|
||||||
char type (gcc treats char as unsigned). [Lance]
|
char type (gcc treats char as unsigned). [Lance]
|
||||||
|
@ -1003,7 +1003,7 @@ int intif_parse_SaveGuildStorage(int fd)
|
|||||||
if(battle_config.save_log) {
|
if(battle_config.save_log) {
|
||||||
ShowInfo("intif_save_guild_storage: done %d %d %d\n",RFIFOL(fd,2),RFIFOL(fd,6),RFIFOB(fd,10) );
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -664,7 +664,7 @@ int storage_guild_storagesave(int account_id, int guild_id)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int storage_guild_storagesaved(int account_id, int guild_id)
|
int storage_guild_storagesaved(int guild_id)
|
||||||
{
|
{
|
||||||
struct guild_storage *stor;
|
struct guild_storage *stor;
|
||||||
|
|
||||||
|
@ -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_storageclose(struct map_session_data *sd);
|
||||||
int storage_guild_storage_quit(struct map_session_data *sd,int flag);
|
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_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 void *_i1, const void *_i2);
|
||||||
//int storage_comp_item(const struct item* i1, const struct item* i2);
|
//int storage_comp_item(const struct item* i1, const struct item* i2);
|
||||||
|
@ -149,8 +149,7 @@
|
|||||||
RelativePath="..\src\common\db.c">
|
RelativePath="..\src\common\db.c">
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\common\ers.c"
|
RelativePath="..\src\common\ers.c">
|
||||||
>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\common\graph.c">
|
RelativePath="..\src\common\graph.c">
|
||||||
|
@ -147,8 +147,7 @@
|
|||||||
RelativePath="..\src\common\db.c">
|
RelativePath="..\src\common\db.c">
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\common\ers.c"
|
RelativePath="..\src\common\ers.c">
|
||||||
>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\common\graph.c">
|
RelativePath="..\src\common\graph.c">
|
||||||
|
@ -148,8 +148,7 @@
|
|||||||
RelativePath="..\src\common\db.c">
|
RelativePath="..\src\common\db.c">
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\common\ers.c"
|
RelativePath="..\src\common\ers.c">
|
||||||
>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\common\graph.c">
|
RelativePath="..\src\common\graph.c">
|
||||||
|
@ -150,8 +150,7 @@
|
|||||||
RelativePath="..\src\common\db.c">
|
RelativePath="..\src\common\db.c">
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\common\ers.c"
|
RelativePath="..\src\common\ers.c">
|
||||||
>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\common\graph.c">
|
RelativePath="..\src\common\graph.c">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user