From ce7b7b67f4d81d5e2564dc9cd1a73099b8955049 Mon Sep 17 00:00:00 2001 From: Baudouin Raoult Date: Sat, 3 Feb 2024 14:52:59 +0000 Subject: [PATCH] Comment out unused code --- src/terralib/kernel/TeUtils.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/terralib/kernel/TeUtils.cpp b/src/terralib/kernel/TeUtils.cpp index 4cc538ea3..7052e072a 100644 --- a/src/terralib/kernel/TeUtils.cpp +++ b/src/terralib/kernel/TeUtils.cpp @@ -18,6 +18,9 @@ #include //FAMI #include +#if 0 +/* The code below is unused and does not always compile */ + /* The following includes are needed for pysical memory checking */ #if TePLATFORM == TePLATFORMCODE_MSWINDOWS #include @@ -33,6 +36,7 @@ #error "Unsuported plataform for physical memory checking" #endif +#endif string Te2String(const int value) { char name[TeNAME_LENGTH]; @@ -430,6 +434,8 @@ string TeCheckName(const string& name, bool& changed, string& invalidChar) { return newName; } +#if 0 +/* The code below is unused and does not always compile */ unsigned long int TeGetFreePhysicalMemory() { unsigned long int freemem = 0; @@ -553,3 +559,5 @@ bool TeCheckFileExistence(const std::string& filename) { return true; } } + +#endif