Author: tfaber
Date: Sat Jul 20 14:38:35 2013
New Revision: 59540
URL:
http://svn.reactos.org/svn/reactos?rev=59540&view=rev
Log:
[EXPLORER]
- Don't compile FAT support code (WTF) if it's not used
Modified:
trunk/reactos/base/shell/explorer/shell/fatfs.cpp
trunk/reactos/base/shell/explorer/shell/filechild.cpp
Modified: trunk/reactos/base/shell/explorer/shell/fatfs.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/shell/…
==============================================================================
--- trunk/reactos/base/shell/explorer/shell/fatfs.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/shell/fatfs.cpp [iso-8859-1] Sat Jul 20 14:38:35
2013
@@ -30,6 +30,7 @@
#include "fatfs.h"
+#ifdef _DEBUG
static union DEntry* link_dir_entries(struct dirent* dir, struct Kette* K, int cnt)
{
@@ -634,3 +635,5 @@
return j;
}
+
+#endif // _DEBUG
Modified: trunk/reactos/base/shell/explorer/shell/filechild.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/shell/…
==============================================================================
--- trunk/reactos/base/shell/explorer/shell/filechild.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/shell/filechild.cpp [iso-8859-1] Sat Jul 20 14:38:35
2013
@@ -177,7 +177,7 @@
_root._entry = new RegistryRoot();
entry = _root.read_tree(info._path+_tcslen(_root._path));
break;
-
+#ifdef _DEBUG
case ET_FAT: {
_root._drive_type = DRIVE_UNKNOWN;
_root._sort_order = SORT_NONE;
@@ -194,7 +194,7 @@
entry = _root.read_tree(info._path+_tcslen(_root._path));
}
break;}
-
+#endif
#ifndef _NO_WIN_FS
default: // ET_WINDOWS
_root._drive_type = GetDriveType(info._path);