diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2017-02-26 06:11:19 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2017-02-26 06:11:19 +0000 |
commit | c7048cd88f508b775b3805199f8fd68efd4279df (patch) | |
tree | 8f41457ebfd044c18281cc1d599c5ea95e94cb9b /Src/Modules/parameter.c | |
parent | 4b8db48c6bd3c0230a5d81f49e478857adf9cda8 (diff) | |
download | zsh-c7048cd88f508b775b3805199f8fd68efd4279df.tar.gz zsh-c7048cd88f508b775b3805199f8fd68efd4279df.tar.xz zsh-c7048cd88f508b775b3805199f8fd68efd4279df.zip |
Revert 40626 which broke tests.
Diffstat (limited to 'Src/Modules/parameter.c')
-rw-r--r-- | Src/Modules/parameter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c index c7aac88d1..c251e4f97 100644 --- a/Src/Modules/parameter.c +++ b/Src/Modules/parameter.c @@ -937,7 +937,7 @@ unsetpmoption(Param pm, UNUSED(int exp)) /**/ static void -setpmoptions(Param pm, HashTable ht) +setpmoptions(UNUSED(Param pm), HashTable ht) { int i; HashNode hn; @@ -962,7 +962,7 @@ setpmoptions(Param pm, HashTable ht) (val && strcmp(val, "off")), 0, opts)) zwarn("can't change option: %s", hn->nam); } - hashsetfn(pm, ht); + deleteparamtable(ht); } static const struct gsu_scalar pmoption_gsu = |