VAN0 Posted March 30 Share Posted March 30 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? Link to comment Share on other sites More sharing options...
Solution Andreik Posted March 30 Solution Share Posted March 30 (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 by Andreik VAN0 1 When the words fail... music speaks. Link to comment Share on other sites More sharing options...
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