summaryrefslogtreecommitdiff
path: root/src/mir/check_full.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir/check_full.cpp')
-rw-r--r--src/mir/check_full.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mir/check_full.cpp b/src/mir/check_full.cpp
index 52c0aaf5..cacd9bef 100644
--- a/src/mir/check_full.cpp
+++ b/src/mir/check_full.cpp
@@ -754,9 +754,10 @@ void MIR_Validate_FullValState(::MIR::TypeResolve& mir_res, const ::MIR::Functio
TU_MATCHA( (blk.statements[i]), (se),
(Assign,
- #if ENABLE_LEAK_DETECTOR
- // TODO: Check if the target isn't valid. Allow if either invaid, or too complex to know.
- #endif
+ if( ENABLE_LEAK_DETECTOR )
+ {
+ // TODO: Check if the target isn't valid. Allow if either invaid, or too complex to know.
+ }
TU_MATCHA( (se.src), (ve),
(Use,
state.move_lvalue(mir_res, ve);