27.08.2013, 21:15
Bom estou com esses avisos como retiro eles ?
avisos
a linha
avisos
pawn Код:
F:\Users\weverton\Desktop\Nova pasta\gamemodes\mysql.pwn(118) : warning 219: local variable "hash" shadows a variable at a preceding level
F:\Users\weverton\Desktop\Nova pasta\gamemodes\mysql.pwn(119) : warning 206: redundant test: constant expression is non-zero
F:\Users\weverton\Desktop\Nova pasta\gamemodes\mysql.pwn(120) : warning 225: unreachable code
a linha
pawn Код:
hash(dados[])
{
new hash; //aqui
for(new i = (strlen(dados) -1); 1 > -1; --i) hash += (dados[1]*dados[(i+1)]); //aqui
return hash; //e aqui
}