mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-30 05:40:58 +01:00
Remove return value from uniqarray which caused a compile error on IRIX
This commit is contained in:
parent
ade3663216
commit
548fe00d96
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue