<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>
{
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;
-<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" />
-<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" />
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");
<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>