Fix compiling.
Modified: trunk/reactos/subsys/system/notepad/text.c

Modified: trunk/reactos/subsys/system/notepad/text.c
--- trunk/reactos/subsys/system/notepad/text.c	2005-09-25 13:54:19 UTC (rev 18052)
+++ trunk/reactos/subsys/system/notepad/text.c	2005-09-25 13:56:45 UTC (rev 18053)
@@ -63,7 +63,7 @@
 	DWORD dwPos, i;
 	DWORD dwCharCount;
 	BOOL bSuccess = FALSE;
-	BYTE b;
+	BYTE b = 0;
 	int iEncoding = ENCODING_ANSI;
 	int iCodePage;
 	WCHAR szCrlf[2] = { '\r', '\n' };
@@ -216,14 +216,14 @@
 
 static BOOL WriteEncodedText(HANDLE hFile, LPCWSTR pszText, DWORD dwTextLen, int iEncoding)
 {
-	LPBYTE pBytes;
+	LPBYTE pBytes = NULL;
 	LPBYTE pAllocBuffer = NULL;
 	DWORD dwPos = 0;
 	DWORD dwByteCount;
 	BYTE buffer[1024];
 	UINT iCodePage;
 	DWORD dwDummy, i;
-	BOOL bSuccess;
+	BOOL bSuccess = FALSE;
 	int iBufferSize, iRequiredBytes;
 	BYTE b;