DrylandEcology / SOILWAT2

An ecosystem water balance simulation model
GNU General Public License v3.0
5 stars 2 forks source link

Remove obsolete code in `DEBUG_MEM*` sections #369

Closed dschlaep closed 11 months ago

dschlaep commented 1 year ago

DEBUG_MEM* sections of the SOILWAT2 code look like obsolete code – corresponding functionality (see comment at start of "mymemory.ch" has likely been replaced by third-party leak/memory analyzers (e.g., ASAN, leaks, valgrind)

DEBUG_MEM and DEBUG_MEM_X are currently not functional; the following all cause compilation errors

The following is functional

--> Consider if we can remove these obsolete code sections to increase code maintainability and ease for future developments.

dschlaep commented 1 year ago

STEPWAT2 has not been utilizing "DEBUG_MEM" -- we have to go ahead to remove associated code.