mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Destroyed _Footer (markdown)
10
_Footer.md
10
_Footer.md
@@ -1,10 +0,0 @@
|
|||||||
This check is also problematic with namerefs in bash.
|
|
||||||
|
|
||||||
For ex:
|
|
||||||
|
|
||||||
function fn() {
|
|
||||||
local -n result="$1"
|
|
||||||
result="some result"
|
|
||||||
}
|
|
||||||
|
|
||||||
results in a warning that results in unused, when in fact the result is propagated outside of the function..
|
|
Reference in New Issue
Block a user