Skip to content

Commit

Permalink
campaignd: Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
irydacea committed Jun 5, 2014
1 parent 33503f2 commit 7435f34
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/campaign_server/campaign_server.cpp
Expand Up @@ -123,11 +123,7 @@ namespace {
std::string format_addon_feedback_url(const std::string& format, const config& params)
{
if(!format.empty() && !params.empty()) {
#if 0
utils::string_map escaped;
#else
plain_string_map escaped;
#endif

config::const_attr_itors attrs = params.attribute_range();

Expand All @@ -141,13 +137,8 @@ namespace {
// FIXME: We cannot use utils::interpolate_variables_into_string
// because it is implemented using a lot of formula AI junk
// that really doesn't belong in campaignd.
#if 0
const std::string& res =
utils::interpolate_variables_into_string(format, &escaped);
#else
const std::string& res =
fast_interpolate_variables_into_string(format, &escaped);
#endif

if(res != format) {
return res;
Expand Down Expand Up @@ -649,7 +640,6 @@ namespace {
config_writer writer(*campaign_file, true, compress_level_);
writer.write(data);
}
// write_compressed(*campaign_file, *data);

(*campaign)["size"] = lexical_cast<std::string>(
file_size(filename));
Expand Down

0 comments on commit 7435f34

Please sign in to comment.