summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/params.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a20f62b1..aced503c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2011-01-11  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
+	* unposted: Src/params.c: fix return types in 28617.
+
 	* 28611: Src/Zle/zle_move.c: remove unused special behaviour for
 	VI mark 26.
 
@@ -14104,5 +14106,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5180 $
+* $Revision: 1.5181 $
 *****************************************************
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);