mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-03-12 12:35:25 -07:00
Updated SC2034 (markdown)
parent
d0d2eb3335
commit
168575a202
@ -14,6 +14,8 @@
|
||||
|
||||
Variables not used for anything are often associated with bugs, so ShellCheck warns about them.
|
||||
|
||||
Also note that something like `local let foo=42` does not make a `let` statement local -- it instead declares an additional local variable named `let`.
|
||||
|
||||
### Exceptions
|
||||
|
||||
ShellCheck may not always realize that the variable is in use (especially with indirection), and may not realize you don't care (with throwaway variables or unimplemented features).
|
||||
|
Loading…
x
Reference in New Issue
Block a user