windows-afslogon-code-init-20050829
authorEric Williams <ericjw@citi.umich.edu>
Mon, 29 Aug 2005 20:39:56 +0000 (20:39 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 29 Aug 2005 20:39:56 +0000 (20:39 +0000)
Init 'code' to prevent false errors when integrated logon is disabled
and the service is not running

src/WINNT/afsd/afslogon.c

index 506ea71..8903bfe 100644 (file)
@@ -657,7 +657,7 @@ DWORD APIENTRY NPLogonNotify(
 
     MSV1_0_INTERACTIVE_LOGON *IL;
 
-    DWORD code, code2;
+    DWORD code = 0, code2;
 
     int pw_exp;
     char *reason;