The following commit has been merged in the master branch:
commit 098dc9c1b8a90f15220e425ef5235afdb0122483
Author: Freddy Vulto <[email protected]>
Date:   Mon Dec 7 09:28:49 2009 +0100

    Remove unused local variable `wordbreaks'
    in function `__reassemble_comp_words_by_ref()'

diff --git a/bash_completion b/bash_completion
index a885069..d82b287 100644
--- a/bash_completion
+++ b/bash_completion
@@ -220,13 +220,12 @@ dequote()
 #
 __reassemble_comp_words_by_ref() {
     local exclude i j ref
-    # On bash-3, `COMP_WORDBREAKS' is empty which is ok; no additional
-    # word breaking is done on bash-3.
-    local wordbreaks="$COMP_WORDBREAKS"
     # Exclude word separator characters?
     if [[ $1 ]]; then
         # Yes, exclude word separator characters;
         # Exclude only those characters, which were really included
+        # NOTE: On bash-3, `COMP_WORDBREAKS' is empty which is ok; no
+        #       additional word breaking is done on bash-3.
         exclude="${1//[^$COMP_WORDBREAKS]}"
     fi
         

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to