Skip to content

Commit

Permalink
fix unbound variables in clang_sanitize.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rcr committed Apr 4, 2023
1 parent 77fac10 commit 97a5c56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/clang_sanitize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

set -u

BUILD=
CHECK=

for arg in "$@"; do
[[ "$arg" == "--build" ]] && eval "BUILD=true"
[[ "$arg" == "--check" ]] && eval "CHECK=true"
Expand Down

0 comments on commit 97a5c56

Please sign in to comment.