Fix a warning about a unitialized var

This commit is contained in:
Tiago Gomes 2012-12-26 21:48:05 +00:00
parent d8c5725b2e
commit 188f359496

View File

@ -1003,7 +1003,7 @@ LiftedCircuit::containsTypes (
CircuitNodeType
LiftedCircuit::getCircuitNodeType (const CircuitNode* node) const
{
CircuitNodeType type;
CircuitNodeType type = CircuitNodeType::OR_NODE;
if (dynamic_cast<const OrNode*>(node) != 0) {
type = CircuitNodeType::OR_NODE;
} else if (dynamic_cast<const AndNode*>(node) != 0) {