I have just upgraded to SuSe 10.3 which has gcc 4.2.1 installed and now i get a whole bunch of warnings when i compile my smaug code.
All the warnings are the same and on that type of expression. I know these are nothing to worry about, but is there any way that i can re-write those lines to not trip the warning. I like not having any warnings when i compile.
Thanks for helping.
act_wiz.c:4578: warning: the address of ‘arg’ will always evaluate as ‘true’
if( arg && arg[0] != '\0' )
All the warnings are the same and on that type of expression. I know these are nothing to worry about, but is there any way that i can re-write those lines to not trip the warning. I like not having any warnings when i compile.
Thanks for helping.