Skip to content

Commit fecde87

Browse files
committed
Explicitly declare the paths_to_try array in apply-format
1 parent 576a575 commit fecde87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apply-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ fi
188188
# clang-format-diff.
189189
if [ "$whole_file" = false ]; then
190190
invalid="/dev/null/invalid/path"
191+
declare paths_to_try=()
191192
# .deb packages directly from upstream.
192193
# We try these first as they are probably newer than the system ones.
193194
while read -r f; do

0 commit comments

Comments
 (0)