Jump to content

Au3Check -w 5 (local var declared but not used ) and eval()


Go to solution Solved by Andreik,

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...