diff options
author | Peter Stephenson <pws@zsh.org> | 2016-08-12 12:56:34 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2016-08-12 12:56:34 +0100 |
commit | 04003e038ae60502e4e1124acb372c75956174dc (patch) | |
tree | cb7c3812e7d304944c95860bb8ca2e6ed0985b3e /Src | |
parent | bedb61fd999b87948d30987302362b3c07302132 (diff) | |
download | zsh-04003e038ae60502e4e1124acb372c75956174dc.tar.gz zsh-04003e038ae60502e4e1124acb372c75956174dc.tar.xz zsh-04003e038ae60502e4e1124acb372c75956174dc.zip |
39031: Ensure variables in transpose-words are initialised
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/zle_word.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_word.c b/Src/Zle/zle_word.c index 2a151710a..e4a878eab 100644 --- a/Src/Zle/zle_word.c +++ b/Src/Zle/zle_word.c @@ -722,7 +722,7 @@ transposewords(UNUSED(char **args)) if (!p3) return 1; - pt = p3; + p1 = p2 = pt = p3; while (n--) { for (p2 = pt; p2; ) { |