[ros-diffs] [greatlrd] 33065: fix the no init value in kbswith

greatlrd at svn.reactos.org greatlrd at svn.reactos.org
Sun Apr 20 18:10:27 CEST 2008


Author: greatlrd
Date: Sun Apr 20 11:10:27 2008
New Revision: 33065

URL: http://svn.reactos.org/svn/reactos?rev=33065&view=rev
Log:
fix the no init value in kbswith

Modified:
    trunk/reactos/base/applications/kbswitch/kbswitch.c

Modified: trunk/reactos/base/applications/kbswitch/kbswitch.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/kbswitch/kbswitch.c?rev=33065&r1=33064&r2=33065&view=diff
==============================================================================
--- trunk/reactos/base/applications/kbswitch/kbswitch.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/kbswitch/kbswitch.c [iso-8859-1] Sun Apr 20 11:10:27 2008
@@ -47,7 +47,7 @@
 GetLayoutID(LPTSTR szLayoutNum, LPTSTR szLCID)
 {
     DWORD dwBufLen;
-    DWORD dwTest;
+    DWORD dwTest = 0;
     HKEY hKey;
     TCHAR szTempLCID[CCH_LAYOUT_ID + 1];
 



More information about the Ros-diffs mailing list