summaryrefslogtreecommitdiff
path: root/test/unit/expr/attribute_black.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-07-03 23:09:25 +0000
committerMorgan Deters <mdeters@gmail.com>2010-07-03 23:09:25 +0000
commit33f1138d8ab09bf133b945647d9239befe297d5e (patch)
tree6b2b5ef3a1eacb60d0b677fae3d629fbf6a3acb6 /test/unit/expr/attribute_black.h
parent08c7de43f3ea028a9d397b09504d805affa39eef (diff)
fix warnings
Diffstat (limited to 'test/unit/expr/attribute_black.h')
-rw-r--r--test/unit/expr/attribute_black.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/expr/attribute_black.h b/test/unit/expr/attribute_black.h
index c9fc1f50b..06c8decfc 100644
--- a/test/unit/expr/attribute_black.h
+++ b/test/unit/expr/attribute_black.h
@@ -248,8 +248,8 @@ public:
Node* node = new Node(d_nodeManager->mkVar(booleanType));
bool val = true;
- bool data0;
- bool data1;
+ bool data0 = false;
+ bool data1 = false;
BoolAttribute attr;
TS_ASSERT(node->getAttribute(attr, data0));
@@ -258,8 +258,8 @@ public:
TS_ASSERT(node->getAttribute(attr, data1));
TS_ASSERT_EQUALS(data1, val);
- bool data2;
- bool data3;
+ bool data2 = false;
+ bool data3 = false;
CDBoolAttribute cdattr;
TS_ASSERT(node->getAttribute(cdattr, data2));
TS_ASSERT_EQUALS(false, data2);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback