about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2014-02-25 09:14:21 +0100
committerOliver Kiddle <opk@zsh.org>2014-02-25 09:14:21 +0100
commit39717411aeb4f72b772d97eeff3f9c1ecf48aae6 (patch)
tree82d9b9ae1918cee2ee98666f4ae39977736b796b
parent7c314132789aa2b7a571890eca06d3f1e22d0f0e (diff)
downloadzsh-39717411aeb4f72b772d97eeff3f9c1ecf48aae6.tar.gz
zsh-39717411aeb4f72b772d97eeff3f9c1ecf48aae6.tar.xz
zsh-39717411aeb4f72b772d97eeff3f9c1ecf48aae6.zip
unposted: duplicate local statement was printing variable value
-rw-r--r--ChangeLog3
-rw-r--r--Completion/X/Command/_x_utils2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 27b5e9a80..5f73fdb57 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-02-24  Oliver Kiddle <opk@zsh.org>
 
+	* unposted: Completion/X/Command/_x_utils: duplicate local
+	statement was printing variable value
+
 	* users/18498: Completion/Base/Completer/_expand_alias: observe
 	add-space style in _expand_alias so suffix can be disabled
 
diff --git a/Completion/X/Command/_x_utils b/Completion/X/Command/_x_utils
index 0ff0cf268..9448fd3df 100644
--- a/Completion/X/Command/_x_utils
+++ b/Completion/X/Command/_x_utils
@@ -69,7 +69,7 @@ xev)
     '-rv'
   ;;
 xhost)
-  local expl type ret=1 tmp match
+  local type tmp match
 
   if compset -P '-'; then
     tmp=(${(f)"$(xhost)"})