[ros-diffs] [tkreuzer] 47164: [FREELDR] Fix uninitialized variable warning. (Does anyone know why the warning isn't treated as an error?) [SETUPLDR] Use mini_hal only on i386 builds
tkreuzer at svn.reactos.org
tkreuzer at svn.reactos.org
Wed May 12 05:29:09 CEST 2010
Author: tkreuzer
Date: Wed May 12 05:29:08 2010
New Revision: 47164
URL: http://svn.reactos.org/svn/reactos?rev=47164&view=rev
Log:
[FREELDR] Fix uninitialized variable warning. (Does anyone know why the warning isn't treated as an error?)
[SETUPLDR] Use mini_hal only on i386 builds
Modified:
trunk/reactos/boot/freeldr/freeldr/fs/iso.c
trunk/reactos/boot/freeldr/freeldr/setupldr.rbuild
Modified: trunk/reactos/boot/freeldr/freeldr/fs/iso.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/iso.c?rev=47164&r1=47163&r2=47164&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/fs/iso.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/fs/iso.c [iso-8859-1] Wed May 12 05:29:08 2010
@@ -161,6 +161,7 @@
DPRINTM(DPRINT_FILESYSTEM, "IsoLookupFile() FileName = %s\n", FileName);
RtlZeroMemory(IsoFileInfoPointer, sizeof(ISO_FILE_INFO));
+ RtlZeroMemory(&IsoFileInfo, sizeof(ISO_FILE_INFO));
//
// Read The Primary Volume Descriptor
Modified: trunk/reactos/boot/freeldr/freeldr/setupldr.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/setupldr.rbuild?rev=47164&r1=47163&r2=47164&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/setupldr.rbuild [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/setupldr.rbuild [iso-8859-1] Wed May 12 05:29:08 2010
@@ -5,7 +5,9 @@
<library>freeldr_startup</library>
<library>freeldr_base64k</library>
<library>freeldr_base</library>
- <library>mini_hal</library>
+ <if property="ARCH" value="i386">
+ <library>mini_hal</library>
+ </if>
<library>freeldr_arch</library>
<library>setupldr_main</library>
<library>rossym</library>
More information about the Ros-diffs
mailing list