09.04.2015, 17:34
How can I delete string in code below? :
And also , It's mSelection Include. and string is a problem.
Error code :
What should I do?
PHP код:
stock mS_strtok(const string[], &index) // Line 698
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}
Error code :
PHP код:
pawno\include\mSelection.inc(698) : warning 219: local variable "string" shadows a variable at a preceding level