Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

Issue Confirmations

  • Yes (1)No (0)
Photo

Warning When Compile, Centos With Old GCC

Posted by Litro on 13 September 2014 - 03:02 PM

Appear in latest fresh svn..
skill.c: In function 'skill_counter_additional_effect':
skill.c:1735: warning: value computed is not used

tried with new git version having the same error btw I'm using new compiler gcc 4.7.2 still having warning.

Ind 
changed status to: Needs More Info

Your line 1735 is this one?
					for( i = 0; i < sc->data[SC_FORCEOFVANGUARD]->val3 && sc->fv_counter <= sc->data[SC_FORCEOFVANGUARD]->val3 ; i++)
If so I'd question your compiler's sanity, because 'i' is being used to limit val3, if thats not your line 1735 I'd ask you to show me what its contents are.

I think this bug is prior to one fix I commited wich silenced a warning. If Litro/THPO doesn't experience this issue with a recent Hercules it can be marked as fixed.