From c7048cd88f508b775b3805199f8fd68efd4279df Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sun, 26 Feb 2017 06:11:19 +0000 Subject: Revert 40626 which broke tests. --- Src/Modules/parameter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src') 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 = -- cgit 1.4.1