[anjuta] devhelp: remove unused variable
- From: Carl-Anton Ingmarsson <carlantoni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] devhelp: remove unused variable
- Date: Wed, 15 May 2013 21:12:31 +0000 (UTC)
commit 07acb6b2d54c45147d8a5e2a9624ac206765f4c5
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date: Wed May 15 18:22:24 2013 +0200
devhelp: remove unused variable
plugins/devhelp/plugin.c | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/plugins/devhelp/plugin.c b/plugins/devhelp/plugin.c
index ae420c2..6978382 100644
--- a/plugins/devhelp/plugin.c
+++ b/plugins/devhelp/plugin.c
@@ -588,8 +588,7 @@ ihelp_search (IAnjutaHelp *help, const gchar *query, GError **err)
{
gchar *cmd[4];
gchar *display;
- gboolean retval;
-
+
if (!anjuta_util_prog_is_installed ("devhelp", TRUE))
{
return;
@@ -610,14 +609,14 @@ ihelp_search (IAnjutaHelp *help, const gchar *query, GError **err)
display = gdk_screen_make_display_name (gdk_screen_get_default ());
- retval = g_spawn_async (NULL, /* working directory */
- cmd,
- NULL, /* envp */
- G_SPAWN_SEARCH_PATH,
- set_environment,
- &display,
- NULL,
- NULL);
+ g_spawn_async (NULL, /* working directory */
+ cmd,
+ NULL, /* envp */
+ G_SPAWN_SEARCH_PATH,
+ set_environment,
+ &display,
+ NULL,
+ NULL);
g_free (display);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]