From 188f3594963edddd9b3e5e9437234958803c0f96 Mon Sep 17 00:00:00 2001 From: Tiago Gomes Date: Wed, 26 Dec 2012 21:48:05 +0000 Subject: [PATCH] Fix a warning about a unitialized var --- packages/CLPBN/horus/LiftedKc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/CLPBN/horus/LiftedKc.cpp b/packages/CLPBN/horus/LiftedKc.cpp index 46f42d5ec..4dbd9e9ca 100644 --- a/packages/CLPBN/horus/LiftedKc.cpp +++ b/packages/CLPBN/horus/LiftedKc.cpp @@ -1003,7 +1003,7 @@ LiftedCircuit::containsTypes ( CircuitNodeType LiftedCircuit::getCircuitNodeType (const CircuitNode* node) const { - CircuitNodeType type; + CircuitNodeType type = CircuitNodeType::OR_NODE; if (dynamic_cast(node) != 0) { type = CircuitNodeType::OR_NODE; } else if (dynamic_cast(node) != 0) {