Skip to content

Commit

Permalink
Comment out unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Feb 3, 2024
1 parent 1387b04 commit ce7b7b6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/terralib/kernel/TeUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#include <cstring> //FAMI
#include <iostream>

#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 <windows.h>
Expand All @@ -33,6 +36,7 @@
#error "Unsuported plataform for physical memory checking"
#endif

#endif

string Te2String(const int value) {
char name[TeNAME_LENGTH];
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -553,3 +559,5 @@ bool TeCheckFileExistence(const std::string& filename) {
return true;
}
}

#endif

0 comments on commit ce7b7b6

Please sign in to comment.