mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Created _Footer (markdown)
10
_Footer.md
Normal file
10
_Footer.md
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
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