summaryrefslogtreecommitdiff
path: root/source3/utils/smbpasswd.c
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>1998-09-27 08:29:50 +0000
committerRichard Sharpe <sharpe@samba.org>1998-09-27 08:29:50 +0000
commitecd8ca2431ef949a66433b3a72217dd485b1b300 (patch)
treeb9bb30d9c2e943f2ac429e4907f573cc23ea902e /source3/utils/smbpasswd.c
parent6da95a6f1d17ad69ab572fbc627167f5edb593fb (diff)
downloadsamba-ecd8ca2431ef949a66433b3a72217dd485b1b300.tar.gz
samba-ecd8ca2431ef949a66433b3a72217dd485b1b300.tar.bz2
samba-ecd8ca2431ef949a66433b3a72217dd485b1b300.zip
Fixed up more possibly uninitialized variables.
Now only two compilation warnings seem to be left. Luke may want to check the changes I made. (This used to be commit 2456c95c1664a57aa939695c884ec666ec8168ec)
Diffstat (limited to 'source3/utils/smbpasswd.c')
-rw-r--r--source3/utils/smbpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index 2ac44fbdec..e5e5424a2b 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/utils/smbpasswd.c
@@ -173,7 +173,7 @@ int main(int argc, char **argv)
extern int optind;
extern int DEBUGLEVEL;
int real_uid;
- struct passwd *pwd;
+ struct passwd *pwd = NULL;
fstring old_passwd;
fstring new_passwd;
uchar new_p16[16];