[epiphany] Making gcc shut up, by initializing loading_uri



commit 70dc740953c8213b73cd7c089c7afdc9a97f47a0
Author: Gustavo Noronha Silva <gns gnome org>
Date:   Fri Sep 4 14:57:19 2009 -0300

    Making gcc shut up, by initializing loading_uri

 embed/ephy-embed.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 1d5daa2..c10e4d3 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -240,7 +240,7 @@ load_status_changed_cb (WebKitWebView *view,
     ephy_web_view_set_security_level (EPHY_WEB_VIEW (view), security_level);
   } else if (status == WEBKIT_LOAD_PROVISIONAL || status == WEBKIT_LOAD_FINISHED) {
     EphyWebViewNetState estate = EPHY_WEB_VIEW_STATE_UNKNOWN;
-    const char *loading_uri;
+    const char *loading_uri = NULL;
 
     if (status == WEBKIT_LOAD_PROVISIONAL) {
       WebKitWebFrame *frame;



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