diff options
author | Shaun McCance <shaunm@gnome.org> | 2014-06-17 19:14:17 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2014-06-17 19:31:57 -0400 |
commit | 2a81cc46de3b8c34be186e3c41297acf246de82a (patch) | |
tree | 03622ab8955dc84e8f7a8f7e5f84d464a29af382 /src | |
parent | 6c6e75ccd239f3acb977fea673599bdcd2470179 (diff) | |
download | yelp-2a81cc46de3b8c34be186e3c41297acf246de82a.tar.gz |
Fixed some compiler warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/yelp-application.c | 5 | ||||
-rw-r--r-- | src/yelp-window.c | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/yelp-application.c b/src/yelp-application.c index 2239cbb7..d8a21a42 100644 --- a/src/yelp-application.c +++ b/src/yelp-application.c @@ -44,11 +44,6 @@ static gboolean editor_mode = FALSE; -enum { - LAST_SIGNAL -}; -static gint signals[LAST_SIGNAL] = { 0 }; - G_GNUC_NORETURN static gboolean option_version_cb (const gchar *option_name, const gchar *value, diff --git a/src/yelp-window.c b/src/yelp-window.c index 21cb71ae..cce1c9cf 100644 --- a/src/yelp-window.c +++ b/src/yelp-window.c @@ -610,7 +610,7 @@ action_ctrll (GSimpleAction *action, { YelpWindowPrivate *priv = GET_PRIV (userdata); YelpUri *yuri; - gchar *uri; + gchar *uri = NULL; if (priv->ctrll_entry == NULL) { priv->ctrll_entry = gtk_entry_new (); |