2007-07-26 Jakub Jelinek <jakub@redhat.com>
+ * nscd/selinux.c (preserve_capabilities): Initialize new_caps
+ to avoid warning.
+ * iconv/gconv_open.c (__gconv_open): Initialize ptr to avoid
+ warning.
+ * nis/nis_subr.c (nis_getnames): Initialize saveptr to avoid
+ warning.
+ * resolv/inet_ntop.c (inet_ntop6): Initialize best.len and cur.len
+ to avoid warnings.
+
* nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to
void **.
* nss/nsswitch.h (service_user): Use void * type for KNOWN field.
/* Find matching transformation algorithms and initialize steps.
- Copyright (C) 1997,1998,1999,2000,2001,2004,2005
+ Copyright (C) 1997,1998,1999,2000,2001,2004,2005,2007
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
/* Make copy without the error handling description. */
char *newtoset = (char *) alloca (errhand - toset + 1);
char *tok;
- char *ptr;
+ char *ptr = NULL /* Work around a bogus warning */;
newtoset[errhand - toset] = '\0';
toset = memcpy (newtoset, toset, errhand - toset);