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

UNUSED_LOCAL_VARIABLE false positive with var used in cfmail(){} in cfscript #643

Closed
Adysone opened this issue Oct 3, 2019 · 1 comment

Comments

@Adysone
Copy link

Adysone commented Oct 3, 2019

I'm getting this false positive using CFLint 1.4.0.

public void function test()
{
	var _mail = "oui";
	cfmail()
	{
		writeOutput( _mail );
	}
}

cflint: warning INFO - Local variable _mail is not used in function test. Consider removing it.

@KamasamaK
Copy link
Collaborator

Probably duplicate of #593

Confirmed fixed for v1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants