diff options
author | ed <ed@FreeBSD.org> | 2010-01-02 10:14:35 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-01-02 10:14:35 +0000 |
commit | 14b790b0cfcd233769de066dd78e637bf80713dc (patch) | |
tree | c2c2339d73799eb2c006fdef9e21fdd916ff5c96 /usr.bin/passwd/passwd.c | |
parent | 0db0a6763d69dfad476e262e21fe33bc924763ee (diff) | |
download | FreeBSD-src-14b790b0cfcd233769de066dd78e637bf80713dc.zip FreeBSD-src-14b790b0cfcd233769de066dd78e637bf80713dc.tar.gz |
Mute some warnings on uninitialized variables.
The code does the right thing, but the compiler is unable to figure it
out. All paths that use that variable use the same invariant.
Diffstat (limited to 'usr.bin/passwd/passwd.c')
-rw-r--r-- | usr.bin/passwd/passwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/passwd/passwd.c b/usr.bin/passwd/passwd.c index d35458c..2d399c5 100644 --- a/usr.bin/passwd/passwd.c +++ b/usr.bin/passwd/passwd.c @@ -67,7 +67,7 @@ int main(int argc, char *argv[]) { char hostname[MAXHOSTNAMELEN]; - struct passwd *pwd; + struct passwd *pwd = NULL; /* Keep compiler happy. */ int o, pam_err; uid_t uid; |