aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-05-19 14:32:14 +0000
committerBill Meier <wmeier@newsguy.com>2011-05-19 14:32:14 +0000
commit8499c857a76a1796b180a6db96800364981a8dd3 (patch)
tree401a0689aca4c287914aafcd1b0b698ba8b7c858 /gtk
parent7062abeb008514ebbde2bf46261c7762ba9b59de (diff)
Don't assign to an unused variable; remove variable definition: Coverity 1144.
svn path=/trunk/; revision=37291
Diffstat (limited to 'gtk')
-rw-r--r--gtk/proto_help.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/proto_help.c b/gtk/proto_help.c
index db6c327a52..8058418605 100644
--- a/gtk/proto_help.c
+++ b/gtk/proto_help.c
@@ -117,7 +117,6 @@ void proto_help_init(void)
const gchar *ini_name;
gchar *ini_path;
GDir *conf_dir;
- proto_help_key_file *phkf;
int i;
search_dir[0] = g_strdup_printf("%s" G_DIR_SEPARATOR_S PH_CONFFILE_SUBDIR, get_datafile_dir());
@@ -152,7 +151,7 @@ void proto_help_init(void)
}
g_log(NULL, G_LOG_LEVEL_INFO, "-- Found '%s'", ini_name);
ini_path = g_strdup_printf("%s" G_DIR_SEPARATOR_S "%s", search_dir[i], ini_name);
- phkf = ph_ini_load_file(ini_path);
+ ph_ini_load_file(ini_path);
g_free(ini_path);
}
g_dir_close(conf_dir);