From fc9639c850a341e3010465ecb0eecb7f0cd03fc9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 7 Dec 2010 10:30:30 +0100 Subject: remove unused function parse_args; make a few functions extern "C" Signed-off-by: Denys Vlasenko --- src/cli/report.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cli/report.cpp') diff --git a/src/cli/report.cpp b/src/cli/report.cpp index 9ee37576..4c38e852 100644 --- a/src/cli/report.cpp +++ b/src/cli/report.cpp @@ -505,13 +505,13 @@ static GHashTable *get_reporter_plugin_settings(const vector_string_t& reporters for (vector_string_t::const_iterator it = reporters.begin(); it != reporters.end(); ++it) { - map_string_t *single_plugin_settings = new map_string_t; + map_string_t *single_plugin_settings = new map_string_t; *single_plugin_settings = call_GetPluginSettings(it->c_str()); // Copy the received settings as defaults. // Plugins won't work without it, if some value is missing // they use their default values for all fields. - g_hash_table_replace(settings, xstrdup(it->c_str()), (void*)single_plugin_settings); + g_hash_table_replace(settings, xstrdup(it->c_str()), single_plugin_settings); } /* Second, load user-specific settings, which override -- cgit