Skip to content

Commit

Permalink
Fixed duplicate const
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jan 28, 2021
1 parent e334e5f commit ac85468
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/server/campaignd/server.cpp
Expand Up @@ -1338,9 +1338,9 @@ void server::handle_upload(const server::request& req)

LOG_CS << req << "Processing add-on '" << name << "'...\n";

const auto const full_pack = upload.optional_child("data");
const auto const delta_remove = upload.optional_child("removelist");
const auto const delta_add = upload.optional_child("addlist");
const auto full_pack = upload.optional_child("data");
const auto delta_remove = upload.optional_child("removelist");
const auto delta_add = upload.optional_child("addlist");

const bool is_delta_upload = have_wml(delta_remove) || have_wml(delta_add);
const bool is_existing_upload = addon_ptr != nullptr;
Expand Down

0 comments on commit ac85468

Please sign in to comment.