mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-02 07:15:27 +00:00
Quiet a gcc "used uninitialized in this function" false positive.
This commit is contained in:
@@ -67,7 +67,7 @@ pw_dup(const struct passwd *pw)
|
|||||||
{
|
{
|
||||||
size_t nsize = 0, psize = 0, gsize = 0, dsize = 0, ssize = 0, total;
|
size_t nsize = 0, psize = 0, gsize = 0, dsize = 0, ssize = 0, total;
|
||||||
#ifdef HAVE_LOGIN_CAP_H
|
#ifdef HAVE_LOGIN_CAP_H
|
||||||
size_t csize;
|
size_t csize = 0;
|
||||||
#endif
|
#endif
|
||||||
struct passwd *newpw;
|
struct passwd *newpw;
|
||||||
char *cp;
|
char *cp;
|
||||||
|
Reference in New Issue
Block a user