mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
2000-05-04 Andreas Jaeger <aj@suse.de>
* nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
This commit is contained in:
parent
229c86ead7
commit
062cfe7a9b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user