about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/params.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 42cba68b0..8418c9bd4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-11  Oliver Kiddle  <opk@zsh.org>
+
+	* 11xxx: Src/params.c: remove return value from uniqarray which
+	caused a compiler error on IRIX
+
 2000-05-10  Peter Stephenson  <pws@pwstephenson.fsnet.co.uk>
 
 	* 11314: Src/builtin.c, Src/params.c: typeset -Uing tied variables
diff --git a/Src/params.c b/Src/params.c
index abdcd8e2e..6ccfd9307 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -2305,7 +2305,7 @@ uniqarray(char **x)
     char **t, **p = x;
 
     if (!x || !*x)
-	return 0;
+	return;
     while (*++p)
 	for (t = x; t < p; t++)
 	    if (!strcmp(*p, *t)) {