From 5d4a08e403dbac819249ac6034d9b74b7927945b Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Mon, 1 Aug 2005 12:57:34 +0000 Subject: [PATCH] compile release builds with -O3 instead of -Os because it catches more mistakes svn path=/trunk/; revision=16951 --- reactos/ReactOS.xml | 2 +- reactos/drivers/bus/serenum/fdo.c | 2 +- reactos/lib/adns/adns.xml | 2 +- reactos/lib/twain/twain_32.xml | 2 +- reactos/ntoskrnl/io/device.c | 4 ++-- reactos/subsys/system/usetup/usetup.xml | 1 + 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/reactos/ReactOS.xml b/reactos/ReactOS.xml index 48d5d8caafa..8d162daa7ce 100644 --- a/reactos/ReactOS.xml +++ b/reactos/ReactOS.xml @@ -18,7 +18,7 @@ - -Os + -O3 -Wno-strict-aliasing -ftracer -momit-leaf-frame-pointer diff --git a/reactos/drivers/bus/serenum/fdo.c b/reactos/drivers/bus/serenum/fdo.c index 501d25ce105..b0631227264 100644 --- a/reactos/drivers/bus/serenum/fdo.c +++ b/reactos/drivers/bus/serenum/fdo.c @@ -187,7 +187,7 @@ SerenumFdoPnp( { 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; diff --git a/reactos/lib/adns/adns.xml b/reactos/lib/adns/adns.xml index 54148eeafe2..298a76d0720 100644 --- a/reactos/lib/adns/adns.xml +++ b/reactos/lib/adns/adns.xml @@ -1,4 +1,4 @@ - + src adns_win32 diff --git a/reactos/lib/twain/twain_32.xml b/reactos/lib/twain/twain_32.xml index 9a91b47542f..6a976082add 100644 --- a/reactos/lib/twain/twain_32.xml +++ b/reactos/lib/twain/twain_32.xml @@ -1,4 +1,4 @@ - + . diff --git a/reactos/ntoskrnl/io/device.c b/reactos/ntoskrnl/io/device.c index 846c54a7026..d4fcc47a96d 100644 --- a/reactos/ntoskrnl/io/device.c +++ b/reactos/ntoskrnl/io/device.c @@ -251,8 +251,8 @@ IoAttachDevice(PDEVICE_OBJECT SourceDevice, 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"); diff --git a/reactos/subsys/system/usetup/usetup.xml b/reactos/subsys/system/usetup/usetup.xml index 6720755db38..4820430d42f 100644 --- a/reactos/subsys/system/usetup/usetup.xml +++ b/reactos/subsys/system/usetup/usetup.xml @@ -5,6 +5,7 @@ 0x0502 + -lgcc zlib vfatlib -- 2.17.1