VAN0 Posted March 30, 2024 Posted March 30, 2024 I'd like it show warning when local variable is declared but unused, however it seems it shows false positive warning when said variable used in eval(): Func test($myvar = "test message") local $blah = eval("myvar") ConsoleWrite($blah & @CRLF) endfunc test() How do I make it either ignore specific variable, or function all together?
Solution Andreik Posted March 30, 2024 Solution Posted March 30, 2024 (edited) #AutoIt3Wrapper_AU3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7 Func test($myvar = "test message") #forceref $myvar local $blah = eval("myvar") ConsoleWrite($blah & @CRLF) endfunc test() Edited March 30, 2024 by Andreik VAN0 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now