summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-27 10:29:30 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-27 10:29:30 +0000
commit8dedf18e168afd90230af1997edb593431b36e03 (patch)
tree7c9f4041de8a3a0b44b08f27d96a646ec55631f7 /src/map/itemdb.c
parent6670a210e04ac063b94707927b2ecd4dba3fde77 (diff)
downloadhercules-8dedf18e168afd90230af1997edb593431b36e03.tar.gz
hercules-8dedf18e168afd90230af1997edb593431b36e03.tar.bz2
hercules-8dedf18e168afd90230af1997edb593431b36e03.tar.xz
hercules-8dedf18e168afd90230af1997edb593431b36e03.zip
Fixed 'suggest parentheses around assignment ...' gcc warning
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12664 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r--src/map/itemdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index 4ff0b6f24..979ba4a39 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -1115,7 +1115,7 @@ static int itemdb_reload_check(DBKey key,void *data,va_list ap)
}
//Delete storage
- if(stor = account2storage2(sd->status.account_id))
+ if((stor = account2storage2(sd->status.account_id)))
{
//If storage isn't found, it will be deleted whenever storage is loaded again
if(stor)