compile release builds with -O3 instead of -Os because it catches more mistakes
Modified: trunk/reactos/ReactOS.xml
Modified: trunk/reactos/drivers/bus/serenum/fdo.c
Modified: trunk/reactos/lib/adns/adns.xml
Modified: trunk/reactos/lib/twain/twain_32.xml
Modified: trunk/reactos/ntoskrnl/io/device.c
Modified: trunk/reactos/subsys/system/usetup/usetup.xml

Modified: trunk/reactos/ReactOS.xml
--- trunk/reactos/ReactOS.xml	2005-08-01 12:54:50 UTC (rev 16950)
+++ trunk/reactos/ReactOS.xml	2005-08-01 12:57:34 UTC (rev 16951)
@@ -18,7 +18,7 @@
 		<property name="DBG_OR_KDBG" value="true" />
 	</if>
 	<if property="DBG" value="0">
-		<compilerflag>-Os</compilerflag>
+		<compilerflag>-O3</compilerflag>
 		<compilerflag>-Wno-strict-aliasing</compilerflag>
 		<compilerflag>-ftracer</compilerflag>
 		<compilerflag>-momit-leaf-frame-pointer</compilerflag>

Modified: trunk/reactos/drivers/bus/serenum/fdo.c
--- trunk/reactos/drivers/bus/serenum/fdo.c	2005-08-01 12:54:50 UTC (rev 16950)
+++ trunk/reactos/drivers/bus/serenum/fdo.c	2005-08-01 12:57:34 UTC (rev 16951)
@@ -187,7 +187,7 @@
 			{
 				case BusRelations:
 				{
-					PDEVICE_RELATIONS DeviceRelations;
+					PDEVICE_RELATIONS DeviceRelations = NULL;
 					DPRINT("Serenum: IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / BusRelations\n");
 					Status = SerenumFdoQueryBusRelations(DeviceObject, &DeviceRelations);
 					Information = (ULONG_PTR)DeviceRelations;

Modified: trunk/reactos/lib/adns/adns.xml
--- trunk/reactos/lib/adns/adns.xml	2005-08-01 12:54:50 UTC (rev 16950)
+++ trunk/reactos/lib/adns/adns.xml	2005-08-01 12:57:34 UTC (rev 16951)
@@ -1,4 +1,4 @@
-<module name="adns" type="staticlibrary">
+<module name="adns" type="staticlibrary" warnings="true">
 	<include base="adns">src</include>
 	<include base="adns">adns_win32</include>
 	<define name="__USE_W32API" />

Modified: trunk/reactos/lib/twain/twain_32.xml
--- trunk/reactos/lib/twain/twain_32.xml	2005-08-01 12:54:50 UTC (rev 16950)
+++ trunk/reactos/lib/twain/twain_32.xml	2005-08-01 12:57:34 UTC (rev 16951)
@@ -1,4 +1,4 @@
-<module name="twain_32" type="win32dll" baseaddress="${BASEADDRESS_TWAIN_32}" installbase="system32" installname="twain_32.dll">
+<module name="twain_32" type="win32dll" baseaddress="${BASEADDRESS_TWAIN_32}" installbase="system32" installname="twain_32.dll" warnings="true">
 	<importlibrary definition="twain_32.def" />
 	<include base="twain_32">.</include>
 	<define name="__USE_W32API" />

Modified: trunk/reactos/ntoskrnl/io/device.c
--- trunk/reactos/ntoskrnl/io/device.c	2005-08-01 12:54:50 UTC (rev 16950)
+++ trunk/reactos/ntoskrnl/io/device.c	2005-08-01 12:57:34 UTC (rev 16951)
@@ -251,8 +251,8 @@
                PDEVICE_OBJECT *AttachedDevice)
 {
    NTSTATUS Status;
-   PFILE_OBJECT FileObject;
-   PDEVICE_OBJECT TargetDevice;
+   PFILE_OBJECT FileObject = NULL;
+   PDEVICE_OBJECT TargetDevice = NULL;
 
     /* Call the helper routine for an attach operation */
     DPRINT("IoAttachDevice\n");

Modified: trunk/reactos/subsys/system/usetup/usetup.xml
--- trunk/reactos/subsys/system/usetup/usetup.xml	2005-08-01 12:54:50 UTC (rev 16950)
+++ trunk/reactos/subsys/system/usetup/usetup.xml	2005-08-01 12:57:34 UTC (rev 16951)
@@ -5,6 +5,7 @@
 	<define name="__USE_W32API" />
 	<define name="_DISABLE_TIDENTS" />
 	<define name="_WIN32_WINNT">0x0502</define>
+	<define name="__NO_CTYPE_INLINES" />
 	<linkerflag>-lgcc</linkerflag>
 	<library>zlib</library>
 	<library>vfatlib</library>