From 2f8dcc91f17280ff4f51c2c11f77c0ab3fc9ceb6 Mon Sep 17 00:00:00 2001 From: Bertold Van den Bergh Date: Wed, 15 Jan 2020 22:11:54 +0100 Subject: [PATCH] Repair bad commit --- aws_lambda/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws_lambda/main.cpp b/aws_lambda/main.cpp index 491cdd1..d98435f 100644 --- a/aws_lambda/main.cpp +++ b/aws_lambda/main.cpp @@ -30,6 +30,7 @@ invocation_response zd_handler(invocation_request const& request) { json result; int blocked = 0; + int compact = 0; if(param.count("obs")) { auto obs = static_cast(std::stol(param["obs"].get(), nullptr)); @@ -40,7 +41,6 @@ invocation_response zd_handler(invocation_request const& request) { } if(!blocked) { - int compact = 0; if(param.count("c")) { compact = std::stoi(param["c"].get()); }