diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-07-28 20:44:03 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-07-28 20:44:03 +0000 |
commit | 9d9febc7952c43f90fd81ce185e4b1a74cb13375 (patch) | |
tree | e53f5184345c494c12c38f59bdd088cbb61160fe /nis/nis_subr.c | |
parent | 701666b77d9bc02a8dce61adcf02d2b929a2f95a (diff) | |
download | glibc-9d9febc7952c43f90fd81ce185e4b1a74cb13375.tar.gz glibc-9d9febc7952c43f90fd81ce185e4b1a74cb13375.tar.xz glibc-9d9febc7952c43f90fd81ce185e4b1a74cb13375.zip |
* 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.
Diffstat (limited to 'nis/nis_subr.c')
-rw-r--r-- | nis/nis_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/nis_subr.c b/nis/nis_subr.c index c68189e541..abe51a9996 100644 --- a/nis/nis_subr.c +++ b/nis/nis_subr.c @@ -112,7 +112,7 @@ nis_getnames (const_nis_name name) size_t name_len = strlen (name); char *path; int pos = 0; - char *saveptr; + char *saveptr = NULL; int have_point; const char *cp; const char *cp2; |