diff --git a/reactos/base/shell/explorer/shell/fatfs.cpp b/reactos/base/shell/explorer/shell/fatfs.cpp index a667e2bedd5..5cd237280bf 100644 --- a/reactos/base/shell/explorer/shell/fatfs.cpp +++ b/reactos/base/shell/explorer/shell/fatfs.cpp @@ -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 @@ int FATDrive::get_cache_buffer() // search for free cache buffer return j; } + +#endif // _DEBUG diff --git a/reactos/base/shell/explorer/shell/filechild.cpp b/reactos/base/shell/explorer/shell/filechild.cpp index d5387b6c031..2bb9af57614 100644 --- a/reactos/base/shell/explorer/shell/filechild.cpp +++ b/reactos/base/shell/explorer/shell/filechild.cpp @@ -177,7 +177,7 @@ FileChildWindow::FileChildWindow(HWND hwnd, const FileChildWndInfo& info) _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 @@ FileChildWindow::FileChildWindow(HWND hwnd, const FileChildWndInfo& info) entry = _root.read_tree(info._path+_tcslen(_root._path)); } break;} - +#endif #ifndef _NO_WIN_FS default: // ET_WINDOWS _root._drive_type = GetDriveType(info._path);