03.11.2015, 13:51
Example for warning 219
Example for warning 203, 204
PHP код:
new var1, var2;
stock function1(var1,var2){
var1 = 0;
var2 = 0;
}
\raf.pwn(12) : warning 219: local variable "var1" shadows a variable at a preceding level
\raf.pwn(12) : warning 219: local variable "var2" shadows a variable at a preceding level
PHP код:
new var1, var2;
stock function1(){
var1 = 0;
}
//<- var2 never used
\raf.pwn(12) : warning 204: symbol is assigned a value that is never used: "var1"
\raf.pwn(12 -- 278) : warning 203: symbol is never used: "var2"