Updated SC2034 (markdown)

koalaman
2015-08-31 12:44:09 -07:00
parent d0d2eb3335
commit 168575a202

@@ -14,6 +14,8 @@
Variables not used for anything are often associated with bugs, so ShellCheck warns about them. 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 ### 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). 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).