From 062cfe7a9b6e1f0f26e27c5e7a08034ebae4f864 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 4 May 2000 13:21:38 +0000 Subject: 2000-05-04 Andreas Jaeger * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC. --- nscd/pwdcache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nscd') diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c index 32da08ee03..7e35bef1cc 100644 --- a/nscd/pwdcache.c +++ b/nscd/pwdcache.c @@ -1,5 +1,5 @@ /* Cache handling for passwd lookup. - Copyright (C) 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1998. @@ -204,7 +204,7 @@ addpwbyname (struct database *db, int fd, request_header *req, char *buffer = alloca (buflen); struct passwd resultbuf; struct passwd *pwd; - uid_t oldeuid; + uid_t oldeuid = 0; if (debug_level > 0) dbg_log (_("Haven't found \"%s\" in password cache!"), key); -- cgit v1.2.1