diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/params.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/params.c b/Src/params.c index ac7f084bd..5c4d61e69 100644 --- a/Src/params.c +++ b/Src/params.c @@ -2174,7 +2174,8 @@ stdunsetfn(Param pm, int exp) switch (PM_TYPE(pm->flags)) { case PM_SCALAR: pm->sets.cfn(pm, NULL); break; case PM_ARRAY: pm->sets.afn(pm, NULL); break; - case PM_HASHED: pm->sets.hfn(pm, NULL); break; + case PM_HASHED: pm->sets.hfn(pm, NULL); break; + default: pm->u.str = NULL; break; } pm->flags |= PM_UNSET; } |