[ekiga] Found an uninitialized loop flag in the avahi code



commit 551290ae7ecd0c0bf4237a6ccb342ee7a7dbdded
Author: Julien Puydt <jpuydt gnome org>
Date:   Mon Jun 28 21:41:05 2010 +0200

    Found an uninitialized loop flag in the avahi code

 lib/engine/components/avahi/avahi-heap.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/components/avahi/avahi-heap.cpp b/lib/engine/components/avahi/avahi-heap.cpp
index a3e81fc..b3d1747 100644
--- a/lib/engine/components/avahi/avahi-heap.cpp
+++ b/lib/engine/components/avahi/avahi-heap.cpp
@@ -283,7 +283,7 @@ public:
   bool operator() (Ekiga::PresentityPtr pres_)
   {
     boost::shared_ptr<Ekiga::URIPresentity> presentity_ = boost::dynamic_pointer_cast<Ekiga::URIPresentity> (pres_);
-    bool result;
+    bool result = true;
 
     if (presentity_ && presentity_->get_name () == name) {
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]