diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-07 10:30:30 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-07 10:30:30 +0100 |
commit | fc9639c850a341e3010465ecb0eecb7f0cd03fc9 (patch) | |
tree | 90a5e148494ad28ca6921b4981607df100844a96 /src/cli | |
parent | 47728cc3c70c2b6d3a645e5760b39b20bd946e39 (diff) | |
download | abrt-fc9639c850a341e3010465ecb0eecb7f0cd03fc9.tar.gz abrt-fc9639c850a341e3010465ecb0eecb7f0cd03fc9.tar.xz abrt-fc9639c850a341e3010465ecb0eecb7f0cd03fc9.zip |
remove unused function parse_args; make a few functions extern "C"
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/report.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |