Skip to content

Commit b7495bc

Browse files
committed
Fix uninitialized uninitialized boolean
1 parent 0c33799 commit b7495bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Query/Matcher/VariantValue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ void VariantValue::setSigned(int64_t newValue) {
172172
// Boolean
173173
bool VariantValue::isBoolean() const { return type == ValueType::Boolean; }
174174

175-
bool VariantValue::getBoolean() const { return value.Signed; }
175+
bool VariantValue::getBoolean() const { return value.Boolean; }
176176

177177
void VariantValue::setBoolean(bool newValue) {
178178
type = ValueType::Boolean;

0 commit comments

Comments
 (0)