4OSXCROSS_REPO=tpoechtrager/osxcross
5OSXCROSS_SHA1=17bb5e2d0a46533c1dd525cf4e9a80d88bd9f00e
6OSX_SDK=MacOSX12.3.sdk
7OSX_SDK_SUM=ae92043c991873bbecd716f8a3ea1d1623698dc556843d590d7ca9be76f28414
3
4OSXCROSS_REPO=tpoechtrager/osxcross
5OSXCROSS_SHA1=17bb5e2d0a46533c1dd525cf4e9a80d88bd9f00e
6OSX_SDK=MacOSX12.3.sdk7OSX_SDK_SUM=ae92043c991873bbecd716f8a3ea1d1623698dc556843d590d7ca9be76f28414
2set -eu
3
4OSXCROSS_REPO=tpoechtrager/osxcross
5OSXCROSS_SHA1=17bb5e2d0a46533c1dd525cf4e9a80d88bd9f00e6OSX_SDK=MacOSX12.3.sdk
7OSX_SDK_SUM=ae92043c991873bbecd716f8a3ea1d1623698dc556843d590d7ca9be76f28414
1#!/bin/sh
2set -eu
3
4OSXCROSS_REPO=tpoechtrager/osxcross5OSXCROSS_SHA1=17bb5e2d0a46533c1dd525cf4e9a80d88bd9f00e
6OSX_SDK=MacOSX12.3.sdk
7OSX_SDK_SUM=ae92043c991873bbecd716f8a3ea1d1623698dc556843d590d7ca9be76f28414
Variables that are declared but not used for anything should be removed.
foo=42
echo "$FOO"
foo=42
echo "$foo"
This warning may be falsely emitted when a variable is referenced indirectly, or it is intentionally not used.
# foo generates a warning, even though it has five indirect references
foo=42
name=foo
echo "${!name} $((name))"
export "$name"; eval "echo $name"
declare -n name; echo "$name"
This is an intentional design decision and not a bug. If you have variables that will not have direct references, consider using an associative array in bash, or ignore this warning.
_
as a dummy:read _ last _ zip _ _ <<< "$str"
echo "$last, $zip"