[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Bkalgebra=5D_analitza=3A_initialize_variable?=
From:       Montel Laurent <montel () kde ! org>
Date:       2011-04-30 19:18:36
Message-ID: 20110430191836.A6611A60A4 () git ! kde ! org
[Download RAW message or body]

Git commit 901d7d8792bc9726a57461615e9496cfa2f0c3ad by Montel Laurent.
Committed on 30/04/2011 at 21:18.
Pushed by mlaurent into branch 'master'.

initialize variable

M  +1    -1    analitza/analitzautils.cpp     

http://commits.kde.org/kalgebra/901d7d8792bc9726a57461615e9496cfa2f0c3ad

diff --git a/analitza/analitzautils.cpp b/analitza/analitzautils.cpp
index 4157df9..1d6018a 100644
--- a/analitza/analitzautils.cpp
+++ b/analitza/analitzautils.cpp
@@ -336,7 +336,7 @@ bool equalTree(const Object * o1, const Object * o2)
 	else if(o1->type()!=o2->type())
 		return false;
 	
-	bool eq;
+	bool eq = false;
 	switch(o2->type()) {
 		case Object::variable:
 			eq = *static_cast<const Ci*>(o1)==*static_cast<const Ci*>(o2);

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic