diff options
author | panikon <panikon@zoho.com> | 2014-06-18 16:14:17 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-06-18 16:14:17 -0300 |
commit | 26a18851b346064f626697680b99f065ac408bb4 (patch) | |
tree | 72a4f205b5977740e764563518a4a051017ccbe0 /src/map/status.c | |
parent | c924056673e213847ea2ff9ed04cb5f42ae40104 (diff) | |
download | hercules-26a18851b346064f626697680b99f065ac408bb4.tar.gz hercules-26a18851b346064f626697680b99f065ac408bb4.tar.bz2 hercules-26a18851b346064f626697680b99f065ac408bb4.tar.xz hercules-26a18851b346064f626697680b99f065ac408bb4.zip |
Fixed 'value computed is not used', issue: 8236 http://hercules.ws/board/tracker/issue-8236-compile-error-in-centos-65-x64/ couldn't test it and this warning doesn't show on MSVC 2010 /W4 if the warning continues to show please use the issue page.
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c index 7dba0c9f9..fb74df36c 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -11427,11 +11427,10 @@ void status_get_matk_sub( struct block_list *bl, int flag, unsigned short *matk_ #ifdef RENEWAL if( sd && sd->right_weapon.overrefine > 0 ) { - *matk_min++; + (*matk_min)++; *matk_max += sd->right_weapon.overrefine - 1; } #endif - return; } |