diff --git a/VERSION b/VERSION index 65087b4..e25d8d9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.4 +1.1.5 diff --git a/src/libecflow_light/ecflow/light/Dispatcher.cc b/src/libecflow_light/ecflow/light/Dispatcher.cc index 88df945..ae8f300 100644 --- a/src/libecflow_light/ecflow/light/Dispatcher.cc +++ b/src/libecflow_light/ecflow/light/Dispatcher.cc @@ -44,7 +44,9 @@ void CLIDispatcher::dispatch_request(const UpdateNodeAttribute& request) { Response CLIDispatcher::exchange_request(const ClientCfg& cfg [[maybe_unused]], const std::string& request) { Log::info() << "Dispatching CLI Request: " << request << std::endl; - ::system(request.c_str()); + + [[maybe_unused]] + int result = ::system(request.c_str()); return Response{"OK"}; } @@ -84,7 +86,7 @@ void UDPDispatcher::dispatch_request(const UpdateNodeStatus& request [[maybe_unu void UDPDispatcher::dispatch_request(const UpdateNodeAttribute& request) { auto contents = format_request(request); - response_ = UDPDispatcher::exchange_request(cfg_, contents); + response_ = UDPDispatcher::exchange_request(cfg_, contents); } Response UDPDispatcher::exchange_request(const ClientCfg& cfg, const std::string& request) { diff --git a/src/libecflow_light/ecflow/light/TinyREST.h b/src/libecflow_light/ecflow/light/TinyREST.h index ae7e964..e0dc607 100644 --- a/src/libecflow_light/ecflow/light/TinyREST.h +++ b/src/libecflow_light/ecflow/light/TinyREST.h @@ -13,6 +13,7 @@ #include #include +#include #include #include #include