Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Compiler problem] Warning 203: symbol is never used #976

Open
A1mDev opened this issue Jun 6, 2024 · 0 comments
Open

[Compiler problem] Warning 203: symbol is never used #976

A1mDev opened this issue Jun 6, 2024 · 0 comments

Comments

@A1mDev
Copy link

A1mDev commented Jun 6, 2024

A variable with the stock modifier now complains that the symbol is not used anywhere.
Warning 203: symbol is never used "L4D2ZombieClassname"

stock const char L4D2ZombieClassname[9][] =
{
	"smoker",
	"boomer",
	"hunter",
	"spitter",
	"jockey",
	"charger",
	"witch",
	"tank",
	"error_bad_L4D2ZombieClassType"
};

c0rp3n added a commit to c0rp3n/sourcepawn that referenced this issue Jun 9, 2024
This change treats stock variables the same as public during when checking for unused variables.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant