mysql issue
#1

Hello whenever I add mysql_debug(1); ongamemodeinit I get this error
Код:
warning 206: redundant test: constant expression is non-zero
warning 215: expression has no effect
Reply
#2

Likely has nothing to do with that line. It means you are doing something stupid like:
pawn Код:
if(1 == 1)
Although it may not immediately be visible to the naked eye and may manifest itself like:
pawn Код:
#define SOMETHING 1

if(SOMETHING == 1)
Which is always "non-zero" and therefore always "true".

For the latter case, resort to the preprocessor directive, #if.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)