about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-01-11 20:42:40 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-01-11 20:42:40 +0000
commitef4055d97c7af12c6dc8206a5e9872c770fea687 (patch)
tree4d58b774e9bda66801bffcbb7bcb9cc78e6090df /Src
parentfe59d196a05d89140df4f0960f59334dbb8ebc33 (diff)
downloadzsh-ef4055d97c7af12c6dc8206a5e9872c770fea687.tar.gz
zsh-ef4055d97c7af12c6dc8206a5e9872c770fea687.tar.xz
zsh-ef4055d97c7af12c6dc8206a5e9872c770fea687.zip
unposted: fix return types in 28617
Diffstat (limited to 'Src')
-rw-r--r--Src/params.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/params.c b/Src/params.c
index 246b0c1e1..8510b92dc 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -2823,7 +2823,7 @@ sethparam(char *s, char **val)
 	return NULL;
     }
     if (unset(EXECOPT))
-	return;
+	return NULL;
     queue_signals();
     if (!(v = fetchvalue(&vbuf, &s, 1, SCANPM_ASSIGNING)))
 	createparam(t, PM_HASHED);
@@ -2863,7 +2863,7 @@ setnparam(char *s, mnumber val)
 	return NULL;
     }
     if (unset(EXECOPT))
-	return;
+	return NULL;
     queue_signals();
     ss = strchr(s, '[');
     v = getvalue(&vbuf, &s, 1);