From 6796bc807aa3808f6afb5da42932e437bdd183cf Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 6 Sep 1998 23:45:24 +0000 Subject: Update. 1998-09-06 09:53 -0400 Zack Weinberg * Makeconfig (+gccwarn): Remove -Wno-parentheses. * elf/dl-open.c: Quiet -Wparentheses warnings. * iconvdata/johab.c: Likewise. * iconvdata/uhc.c: Likewise. * inet/inet_net.c: Likewise. * io/fts.c: Likewise. * locale/newlocale.c: Likewise. * misc/getttyent.c: Likewise. * misc/mntent_r.c: Likewise. * misc/ttyslot.c: Likewise. * nscd/nscd_conf.c: Likewise. * nss/nsswitch.c: Likewise. * resolv/gethnamaddr.c: Likewise. * resolv/nsap_addr.c: Likewise. * resolv/res_debug.c: Likewise. * stdio-common/_itoa.c: Likewise. * stdlib/strtod.c: Likewise. * string/strverscmp.c: Likewise. * sunrpc/svc.c: Likewise. * sysdeps/libm-ieee754/e_cosh.c: Likewise. * sysdeps/libm-ieee754/e_gamma_r.c: Likewise. * sysdeps/libm-ieee754/e_sinh.c: Likewise. * sysdeps/posix/getaddrinfo.c: Likewise. * include/dlfcn.h: Likewise. * elf/dlfcn.h: Declare dladdr only for __USE_GNU. Define RTLD_DEFAULT. --- nscd/nscd_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nscd') diff --git a/nscd/nscd_conf.c b/nscd/nscd_conf.c index 62a1e6c..917fe02 100644 --- a/nscd/nscd_conf.c +++ b/nscd/nscd_conf.c @@ -70,7 +70,7 @@ nscd_parse_file (const char *fname) arg1 = cp; ++arg1; *cp = '\0'; - if (*cp = '\0' || strlen (entry) == 0) + if (strlen (entry) == 0) dbg_log (_("Parse error: %s"), line); while (isspace (*arg1) && *arg1 != '\0') ++arg1; -- cgit v1.1