aboutsummaryrefslogtreecommitdiff
path: root/nis
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-07-28 20:44:03 +0000
committerUlrich Drepper <drepper@redhat.com>2007-07-28 20:44:03 +0000
commit9d9febc7952c43f90fd81ce185e4b1a74cb13375 (patch)
treee53f5184345c494c12c38f59bdd088cbb61160fe /nis
parent701666b77d9bc02a8dce61adcf02d2b929a2f95a (diff)
downloadglibc-9d9febc7952c43f90fd81ce185e4b1a74cb13375.zip
glibc-9d9febc7952c43f90fd81ce185e4b1a74cb13375.tar.gz
glibc-9d9febc7952c43f90fd81ce185e4b1a74cb13375.tar.bz2
* 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')
-rw-r--r--nis/nis_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/nis_subr.c b/nis/nis_subr.c
index c68189e..abe51a9 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;