[ekiga] Fix crash/warning due to uninitialised variable



commit 36c756320eda3542df04d4d086ff1192b699947b
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Wed Jan 23 14:51:00 2013 +0100

    Fix crash/warning due to uninitialised variable

 lib/engine/gui/gtk-frontend/ext-window.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/ext-window.cpp b/lib/engine/gui/gtk-frontend/ext-window.cpp
index 4225aba..429ffe5 100644
--- a/lib/engine/gui/gtk-frontend/ext-window.cpp
+++ b/lib/engine/gui/gtk-frontend/ext-window.cpp
@@ -255,6 +255,7 @@ static void
 ekiga_ext_window_init (EkigaExtWindow *ew)
 {
   ew->priv = new EkigaExtWindowPrivate;
+  ew->priv->gc = NULL;
 }
 
 GtkWidget *



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