2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +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;
#ifdef HAVE_LOGIN_CAP_H
size_t csize;
size_t csize = 0;
#endif
struct passwd *newpw;
char *cp;