From: Eric Williams Date: Mon, 29 Aug 2005 20:40:59 +0000 (+0000) Subject: STABLE14-windows-afslogon-code-init-20050829 X-Git-Tag: openafs-stable-1_4_0-rc3~15 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a31993c2aa98f6253a9d3100cfff17d6a5084cae;p=packages%2Fo%2Fopenafs.git STABLE14-windows-afslogon-code-init-20050829 Init 'code' to prevent false errors when integrated logon is disabled and the service is not running (cherry picked from commit 0b74a7d25c7f164702843b545615f906a6bdebbd) --- diff --git a/src/WINNT/afsd/afslogon.c b/src/WINNT/afsd/afslogon.c index 506ea71bd..8903bfede 100644 --- a/src/WINNT/afsd/afslogon.c +++ b/src/WINNT/afsd/afslogon.c @@ -657,7 +657,7 @@ DWORD APIENTRY NPLogonNotify( MSV1_0_INTERACTIVE_LOGON *IL; - DWORD code, code2; + DWORD code = 0, code2; int pw_exp; char *reason;