mirror of
https://github.com/zeldaret/tp
synced 2026-08-28 16:52:00 -04:00
Various debug conditional compilation cleanup (#2915)
* Global: Define DEBUG as 0 if not already defined * Clean up DEBUG-guarded code
This commit is contained in:
@@ -88,7 +88,7 @@ int daTreeSh_c::create1st() {
|
||||
return cPhs_ERROR_e;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
l_HIO.entryHIO("針葉樹");
|
||||
#endif
|
||||
}
|
||||
@@ -128,7 +128,7 @@ int daTreeSh_c::Draw() {
|
||||
|
||||
int daTreeSh_c::Delete() {
|
||||
dComIfG_resDelete(&mPhase, l_arcName);
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
l_HIO.removeHIO();
|
||||
#endif
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user