fixed warnings
Modified: trunk/reactos/lib/kernel32/process/create.c
Modified: trunk/reactos/lib/kernel32/thread/thread.c

Modified: trunk/reactos/lib/kernel32/process/create.c
--- trunk/reactos/lib/kernel32/process/create.c	2005-04-07 11:24:38 UTC (rev 14534)
+++ trunk/reactos/lib/kernel32/process/create.c	2005-04-07 13:11:46 UTC (rev 14535)
@@ -283,7 +283,7 @@
 		void * DispatcherContext)
 {
    EXCEPTION_POINTERS ExceptionInfo;
-   EXCEPTION_DISPOSITION ExceptionDisposition;
+   EXCEPTION_DISPOSITION ExceptionDisposition = EXCEPTION_EXECUTE_HANDLER;
 
    ExceptionInfo.ExceptionRecord = ExceptionRecord;
    ExceptionInfo.ContextRecord = ContextRecord;
@@ -300,10 +300,6 @@
       }
       _SEH_END;
    }
-   else 
-   {
-      ExceptionDisposition = EXCEPTION_EXECUTE_HANDLER;
-   }
 
    if (ExceptionDisposition == EXCEPTION_EXECUTE_HANDLER)
       ExitProcess(ExceptionRecord->ExceptionCode);

Modified: trunk/reactos/lib/kernel32/thread/thread.c
--- trunk/reactos/lib/kernel32/thread/thread.c	2005-04-07 11:24:38 UTC (rev 14534)
+++ trunk/reactos/lib/kernel32/thread/thread.c	2005-04-07 13:11:46 UTC (rev 14535)
@@ -29,7 +29,7 @@
 		void * DispatcherContext)
 {
    EXCEPTION_POINTERS ExceptionInfo;
-   EXCEPTION_DISPOSITION ExceptionDisposition;
+   EXCEPTION_DISPOSITION ExceptionDisposition = EXCEPTION_EXECUTE_HANDLER;
 
    ExceptionInfo.ExceptionRecord = ExceptionRecord;
    ExceptionInfo.ContextRecord = ContextRecord;
@@ -46,10 +46,6 @@
       }
       _SEH_END;
    }
-   else 
-   {
-      ExceptionDisposition = EXCEPTION_EXECUTE_HANDLER;
-   }
 
    if (ExceptionDisposition == EXCEPTION_EXECUTE_HANDLER)
       ExitThread(ExceptionRecord->ExceptionCode);