[yelp] Fixed some compiler warnings
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] Fixed some compiler warnings
- Date: Tue, 17 Jun 2014 23:42:04 +0000 (UTC)
commit 2a81cc46de3b8c34be186e3c41297acf246de82a
Author: Shaun McCance <shaunm gnome org>
Date: Tue Jun 17 19:14:17 2014 -0400
Fixed some compiler warnings
src/yelp-application.c | 5 -----
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 2239cbb..d8a21a4 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 21cb71a..cce1c9c 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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]