aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/Core/ValueObjectVariable.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/Core/ValueObjectVariable.cpp b/source/Core/ValueObjectVariable.cpp
index bc5dd2612..58e37bdfc 100644
--- a/source/Core/ValueObjectVariable.cpp
+++ b/source/Core/ValueObjectVariable.cpp
@@ -156,11 +156,8 @@ ValueObjectVariable::UpdateValue ()
SetAddressTypeOfChildren(eAddressTypeHost);
break;
case Value::eValueTypeLoadAddress:
- SetAddressTypeOfChildren(eAddressTypeLoad);
- break;
case Value::eValueTypeScalar:
- // TODO: is this the right thing to do?
- SetAddressTypeOfChildren(eAddressTypeInvalid);
+ SetAddressTypeOfChildren(eAddressTypeLoad);
break;
}