2000-05-04 Andreas Jaeger <aj@suse.de>

* nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence
	GCC.
This commit is contained in:
Andreas Jaeger 2000-05-04 13:21:38 +00:00
parent 229c86ead7
commit 062cfe7a9b
1 changed files with 2 additions and 2 deletions

View File

@ -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 <drepper@cygnus.com>, 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);