compile warnings with fresh svn | closed | |
Phenex 2014-02-03 01:58:31 | I just installed a fresh svn (the latest) and I'm getting the following warnings while re-compiling.pc.c: In function ‘pc_isequipped’: pc.c:747: warning: comparison is always false due to limited range of data type skill.c: In function ‘skill_parse_row_copyabledb’: skill.c:19107: warning: comparison is always false due to limited range of data type | |
Phenex 2014-02-03 14:51:41 | The lines the warnings are coming from: In Pc.c --line 747 if( index < 0 ) continue; In Skill.c --line 19107 if ((option = atoi(split[1])) < 0 || option > 3) { | |
Cydh 2014-02-03 15:57:57 | well, it just a little warning, will be fixed with next commit. thank you | |
Phenex 2014-02-03 16:52:46 | awesome, thank you! | |
Cydh 2014-02-04 05:33:51 | this is should be fixed now, b4bdaeb | |
Phenex 2014-02-04 15:48:36 | The warnings I mentioned are fixed, thank you :) but now there's this one..^^;; skill.c: In function ‘skill_parse_row_copyabledb’: skill.c:19132: warning: comparison is always false due to limited range of data type | |
Cydh 2014-02-04 16:14:34 | lol forgot, ok later. /heh |