Repair bad commit

This commit is contained in:
Bertold Van den Bergh 2020-01-15 22:11:54 +01:00
parent 5cdc5c9722
commit 2f8dcc91f1

View file

@ -30,6 +30,7 @@ invocation_response zd_handler(invocation_request const& request) {
json result; json result;
int blocked = 0; int blocked = 0;
int compact = 0;
if(param.count("obs")) { if(param.count("obs")) {
auto obs = static_cast<std::time_t>(std::stol(param["obs"].get<std::string>(), nullptr)); auto obs = static_cast<std::time_t>(std::stol(param["obs"].get<std::string>(), nullptr));
@ -40,7 +41,6 @@ invocation_response zd_handler(invocation_request const& request) {
} }
if(!blocked) { if(!blocked) {
int compact = 0;
if(param.count("c")) { if(param.count("c")) {
compact = std::stoi(param["c"].get<std::string>()); compact = std::stoi(param["c"].get<std::string>());
} }