Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen GC one line of unneeded code.
details: https://anonhg.NetBSD.org/src/rev/a182567168a3
branches: trunk
changeset: 475849:a182567168a3
user: mycroft <mycroft%NetBSD.org@localhost>
date: Fri Aug 27 18:33:29 1999 +0000
description:
GC one line of unneeded code.
diffstat:
lib/libc/gen/__fts13.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (30 lines):
diff -r 05b4b639cf2b -r a182567168a3 lib/libc/gen/__fts13.c
--- a/lib/libc/gen/__fts13.c Fri Aug 27 18:29:08 1999 +0000
+++ b/lib/libc/gen/__fts13.c Fri Aug 27 18:33:29 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: __fts13.c,v 1.22 1999/08/27 18:29:08 mycroft Exp $ */
+/* $NetBSD: __fts13.c,v 1.23 1999/08/27 18:33:29 mycroft Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)fts.c 8.6 (Berkeley) 8/14/94";
#else
-__RCSID("$NetBSD: __fts13.c,v 1.22 1999/08/27 18:29:08 mycroft Exp $");
+__RCSID("$NetBSD: __fts13.c,v 1.23 1999/08/27 18:33:29 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -1039,10 +1039,8 @@
#endif
size = fts_pow2(size);
new = realloc(sp->fts_path, size);
- if (new == 0) {
- errno = ENOMEM;
+ if (new == 0)
return (1);
- }
sp->fts_path = new;
sp->fts_pathlen = size;
return (0);
Home |
Main Index |
Thread Index |
Old Index