[ekiga] Fixed another problem in the avahi client code



commit a6bde69fb735c951633d6e651eb2910a5a49d6b6
Author: Julien Puydt <jpuydt gnome org>
Date:   Sun Jun 6 16:28:32 2010 +0200

    Fixed another problem in the avahi client code
    
    Now removal works again too.
    
    Very bad news : how come the compiler didn't warn about that!?

 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 f9376c9..a3e81fc 100644
--- a/lib/engine/components/avahi/avahi-heap.cpp
+++ b/lib/engine/components/avahi/avahi-heap.cpp
@@ -232,7 +232,7 @@ Avahi::Heap::BrowserCallback (AvahiServiceBrowser *browser,
     std::cout << __PRETTY_FUNCTION__ << " AVAHI_BROWSER_REMOVE" << std::endl;
 #endif
     {
-      bool found;
+      bool found = false;
       for (iterator iter = begin ();
 	   !found && iter != end ();
 	   ++iter) {



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