2
0
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:
Todd C. Miller
2013-08-15 10:49:06 -06:00
parent e34fe030b9
commit e5f0e1f752

View File

@@ -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;