diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-09-14 03:38:34 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-09-16 03:52:31 +0000 |
commit | 14989cea4ad5fcf17f4a967a804146acf67c4439 (patch) | |
tree | ddc205ef648caac696e9f8394dd7f861e04da12b /ChangeLog | |
parent | 2656b8c2936a4847eac96537f7e04b2d599cd880 (diff) | |
download | zsh-14989cea4ad5fcf17f4a967a804146acf67c4439.tar.gz zsh-14989cea4ad5fcf17f4a967a804146acf67c4439.tar.xz zsh-14989cea4ad5fcf17f4a967a804146acf67c4439.zip |
39310/0002: internals: match_str: Simplify by removing 'zoff'.
'zoff' was only used within 'if (sfx)' blocks, in which case it was initialized to 'alen', so simply s/zoff/alen/g. 'alen' is not const but it first changes on line 794, after the last use of 'zoff'.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index c62863036..4b5f2e639 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2016-09-16 Daniel Shahaf <d.s@daniel.shahaf.name> + * 39310/0002: Src/Zle/compmatch.c: internals: match_str: + Simplify by removing 'zoff'. + * 39310/0001: Src/Zle/compmatch.c: internals: match_str: Document some local variables. See 39123. |