summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2013-02-04 23:51:04 +0200
committerVille Skyttä <ville.skytta@iki.fi>2013-02-04 23:51:04 +0200
commit2758c4fd7eacafdfd27772e46ccd00731d36931d (patch)
treea39c83741e8466afc1ff2c4c38e3ba5f5215946b
parenteef7941842f309491d52a9fef457a8fbb6a4e6a2 (diff)
downloadbash-completion-2758c4fd7eacafdfd27772e46ccd00731d36931d.tar.gz
make: Don't leak $mode.
-rw-r--r--completions/make2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/make b/completions/make
index 5c5b136e..3a3d931c 100644
--- a/completions/make
+++ b/completions/make
@@ -136,7 +136,7 @@ _make()
# recognise that possible completions are only going to be displayed
# so only the base name is shown
- mode=--
+ local mode=--
if (( COMP_TYPE != 9 )); then
mode=-d # display-only mode
fi