Author: gedmurphy Date: Tue May 22 15:00:00 2007 New Revision: 26867
URL: http://svn.reactos.org/svn/reactos?rev=26867&view=rev Log: remove unnecessary NDEBUG definitions. freeldr has it's own debugging system.
Modified: trunk/reactos/boot/freeldr/freeldr/cache/blocklist.c trunk/reactos/boot/freeldr/freeldr/cache/cache.c trunk/reactos/boot/freeldr/freeldr/disk/disk.c trunk/reactos/boot/freeldr/freeldr/disk/partition.c trunk/reactos/boot/freeldr/freeldr/drivemap.c trunk/reactos/boot/freeldr/freeldr/freeldr.c trunk/reactos/boot/freeldr/freeldr/fs/ext2.c trunk/reactos/boot/freeldr/freeldr/fs/fat.c trunk/reactos/boot/freeldr/freeldr/fs/fs.c trunk/reactos/boot/freeldr/freeldr/fs/fsrec.c trunk/reactos/boot/freeldr/freeldr/fs/iso.c trunk/reactos/boot/freeldr/freeldr/fs/ntfs.c trunk/reactos/boot/freeldr/freeldr/inifile/inifile.c trunk/reactos/boot/freeldr/freeldr/inifile/parse.c trunk/reactos/boot/freeldr/freeldr/linuxboot.c trunk/reactos/boot/freeldr/freeldr/mm/meminit.c trunk/reactos/boot/freeldr/freeldr/mm/mm.c trunk/reactos/boot/freeldr/freeldr/reactos/binhive.c trunk/reactos/boot/freeldr/freeldr/reactos/reactos.c trunk/reactos/boot/freeldr/freeldr/reactos/registry.c trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c trunk/reactos/boot/freeldr/freeldr/ui/ui.c trunk/reactos/boot/freeldr/freeldr/windows/conversion.c trunk/reactos/boot/freeldr/freeldr/windows/peloader.c trunk/reactos/boot/freeldr/freeldr/windows/winldr.c trunk/reactos/boot/freeldr/freeldr/windows/wlmemory.c trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c
Modified: trunk/reactos/boot/freeldr/freeldr/cache/blocklist.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/cache/... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/cache/blocklist.c (original) +++ trunk/reactos/boot/freeldr/freeldr/cache/blocklist.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
// Returns a pointer to a CACHE_BLOCK structure
Modified: trunk/reactos/boot/freeldr/freeldr/cache/cache.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/cache/... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/cache/cache.c (original) +++ trunk/reactos/boot/freeldr/freeldr/cache/cache.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
///////////////////////////////////////////////////////////////////////////////////////
Modified: trunk/reactos/boot/freeldr/freeldr/disk/disk.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/disk/d... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/disk/disk.c (original) +++ trunk/reactos/boot/freeldr/freeldr/disk/disk.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
#undef UNIMPLEMENTED
Modified: trunk/reactos/boot/freeldr/freeldr/disk/partition.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/disk/p... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/disk/partition.c (original) +++ trunk/reactos/boot/freeldr/freeldr/disk/partition.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
BOOLEAN DiskGetActivePartitionEntry(ULONG DriveNumber,
Modified: trunk/reactos/boot/freeldr/freeldr/drivemap.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/drivem... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/drivemap.c (original) +++ trunk/reactos/boot/freeldr/freeldr/drivemap.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
#ifdef __i386__
Modified: trunk/reactos/boot/freeldr/freeldr/freeldr.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/freeld... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/freeldr.c (original) +++ trunk/reactos/boot/freeldr/freeldr/freeldr.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
VOID BootMain(LPSTR CmdLine)
Modified: trunk/reactos/boot/freeldr/freeldr/fs/ext2.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/ext... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/fs/ext2.c (original) +++ trunk/reactos/boot/freeldr/freeldr/fs/ext2.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
GEOMETRY Ext2DiskGeometry; // Ext2 file system disk geometry
Modified: trunk/reactos/boot/freeldr/freeldr/fs/fat.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/fat... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/fs/fat.c (original) +++ trunk/reactos/boot/freeldr/freeldr/fs/fat.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
ULONG BytesPerSector; /* Number of bytes per sector */
Modified: trunk/reactos/boot/freeldr/freeldr/fs/fs.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/fs.... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/fs/fs.c (original) +++ trunk/reactos/boot/freeldr/freeldr/fs/fs.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
/////////////////////////////////////////////////////////////////////////////////////////////
Modified: trunk/reactos/boot/freeldr/freeldr/fs/fsrec.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/fsr... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/fs/fsrec.c (original) +++ trunk/reactos/boot/freeldr/freeldr/fs/fsrec.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
/////////////////////////////////////////////////////////////////////////////////////////////
Modified: trunk/reactos/boot/freeldr/freeldr/fs/iso.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/iso... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/fs/iso.c (original) +++ trunk/reactos/boot/freeldr/freeldr/fs/iso.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
#define SECTORSIZE 2048
Modified: trunk/reactos/boot/freeldr/freeldr/fs/ntfs.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/ntf... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/fs/ntfs.c (original) +++ trunk/reactos/boot/freeldr/freeldr/fs/ntfs.c Tue May 22 15:00:00 2007 @@ -24,8 +24,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
PNTFS_BOOTSECTOR NtfsBootSector;
Modified: trunk/reactos/boot/freeldr/freeldr/inifile/inifile.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inifil... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/inifile/inifile.c (original) +++ trunk/reactos/boot/freeldr/freeldr/inifile/inifile.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
BOOLEAN IniOpenSection(PCSTR SectionName, ULONG* SectionId)
Modified: trunk/reactos/boot/freeldr/freeldr/inifile/parse.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inifil... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/inifile/parse.c (original) +++ trunk/reactos/boot/freeldr/freeldr/inifile/parse.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
PINI_SECTION IniFileSectionListHead = NULL;
Modified: trunk/reactos/boot/freeldr/freeldr/linuxboot.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/linuxb... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/linuxboot.c (original) +++ trunk/reactos/boot/freeldr/freeldr/linuxboot.c Tue May 22 15:00:00 2007 @@ -19,8 +19,6 @@
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
#ifdef __i386__
Modified: trunk/reactos/boot/freeldr/freeldr/mm/meminit.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/mm/mem... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/mm/meminit.c (original) +++ trunk/reactos/boot/freeldr/freeldr/mm/meminit.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
#ifdef DBG
Modified: trunk/reactos/boot/freeldr/freeldr/mm/mm.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/mm/mm.... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/mm/mm.c (original) +++ trunk/reactos/boot/freeldr/freeldr/mm/mm.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
ULONG AllocationCount = 0;
Modified: trunk/reactos/boot/freeldr/freeldr/reactos/binhive.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/reacto... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/reactos/binhive.c (original) +++ trunk/reactos/boot/freeldr/freeldr/reactos/binhive.c Tue May 22 15:00:00 2007 @@ -21,8 +21,6 @@
#include <freeldr.h> #include <cmlib.h> - -#define NDEBUG #include <debug.h>
/* FUNCTIONS ****************************************************************/
Modified: trunk/reactos/boot/freeldr/freeldr/reactos/reactos.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/reacto... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/reactos/reactos.c (original) +++ trunk/reactos/boot/freeldr/freeldr/reactos/reactos.c Tue May 22 15:00:00 2007 @@ -20,8 +20,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
ROS_LOADER_PARAMETER_BLOCK LoaderBlock;
Modified: trunk/reactos/boot/freeldr/freeldr/reactos/registry.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/reacto... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/reactos/registry.c (original) +++ trunk/reactos/boot/freeldr/freeldr/reactos/registry.c Tue May 22 15:00:00 2007 @@ -19,8 +19,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
static FRLDRHKEY RootKey;
Modified: trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/reacto... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c (original) +++ trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c Tue May 22 15:00:00 2007 @@ -20,8 +20,6 @@
#define _NTSYSTEM_ #include <freeldr.h> - -#define NDEBUG #include <debug.h>
ROS_LOADER_PARAMETER_BLOCK LoaderBlock;
Modified: trunk/reactos/boot/freeldr/freeldr/ui/ui.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/ui/ui.... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/ui/ui.c (original) +++ trunk/reactos/boot/freeldr/freeldr/ui/ui.c Tue May 22 15:00:00 2007 @@ -18,8 +18,6 @@ */
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
Modified: trunk/reactos/boot/freeldr/freeldr/windows/conversion.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/window... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/windows/conversion.c (original) +++ trunk/reactos/boot/freeldr/freeldr/windows/conversion.c Tue May 22 15:00:00 2007 @@ -11,8 +11,6 @@ #include <freeldr.h>
//#include <ndk/ldrtypes.h> - -#define NDEBUG #include <debug.h>
/* FUNCTIONS **************************************************************/
Modified: trunk/reactos/boot/freeldr/freeldr/windows/peloader.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/window... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/windows/peloader.c (original) +++ trunk/reactos/boot/freeldr/freeldr/windows/peloader.c Tue May 22 15:00:00 2007 @@ -15,8 +15,6 @@
/* INCLUDES ***************************************************************/ #include <freeldr.h> - -#define NDEBUG #include <debug.h>
/* FUNCTIONS **************************************************************/
Modified: trunk/reactos/boot/freeldr/freeldr/windows/winldr.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/window... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/windows/winldr.c (original) +++ trunk/reactos/boot/freeldr/freeldr/windows/winldr.c Tue May 22 15:00:00 2007 @@ -22,8 +22,6 @@ #include <freeldr.h>
#include <ndk/ldrtypes.h> - -//#define NDEBUG #include <debug.h>
//FIXME: Do a better way to retrieve Arc disk information
Modified: trunk/reactos/boot/freeldr/freeldr/windows/wlmemory.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/window... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/windows/wlmemory.c (original) +++ trunk/reactos/boot/freeldr/freeldr/windows/wlmemory.c Tue May 22 15:00:00 2007 @@ -11,8 +11,6 @@ #include <freeldr.h>
#include <ndk/asm.h> - -#define NDEBUG #include <debug.h>
extern ULONG TotalNLSSize;
Modified: trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/window... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c (original) +++ trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c Tue May 22 15:00:00 2007 @@ -9,8 +9,6 @@ /* INCLUDES ***************************************************************/
#include <freeldr.h> - -#define NDEBUG #include <debug.h>
// The only global var here, used to mark mem pages as NLS in WinLdrTurnOnPaging()