Fixed 'suggest parentheses around assignment ...' gcc warning

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12664 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
toms 2008-04-27 10:29:30 +00:00
parent 76c426d731
commit e50dd25ec2
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ 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.
2008/04/27 2008/04/27
* Fixed "suggest parentheses around assignment ..." gcc warning [Toms]
* Some major changes to @reloaditemdb to allow unloading of any item * Some major changes to @reloaditemdb to allow unloading of any item
while map server is running. while map server is running.
- Delete any item from inventory/cart/open storages that went missing - Delete any item from inventory/cart/open storages that went missing

View File

@ -1115,7 +1115,7 @@ static int itemdb_reload_check(DBKey key,void *data,va_list ap)
} }
//Delete storage //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 storage isn't found, it will be deleted whenever storage is loaded again
if(stor) if(stor)