You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's a snippet or screenshot that shows the problem:
#!/bin/bashf() {
local x=
}
echo"$x"
Here's what shellcheck currently says:
Here's what I wanted or expected to see:
In - line 5:
echo"$x"
^-- SC2154 (warning): x is referenced but not assigned.
For more information:
https://www.shellcheck.net/wiki/SC2154 -- x is referenced but not assigned.
The text was updated successfully, but these errors were encountered:
For bugs
For new checks and feature suggestions
Here's a snippet or screenshot that shows the problem:
Here's what shellcheck currently says:
Here's what I wanted or expected to see:
The text was updated successfully, but these errors were encountered: