From 6f1b16146f38ad31d320b3fe11df83231f73faa7 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Wed, 7 Aug 2019 00:14:57 +0200 Subject: [PATCH] fix: remove unused variable --- controllers/api_v1_relays.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/controllers/api_v1_relays.cc b/controllers/api_v1_relays.cc index d7f5ef7..758b59d 100644 --- a/controllers/api_v1_relays.cc +++ b/controllers/api_v1_relays.cc @@ -15,8 +15,6 @@ relays::get_all(const HttpRequestPtr &req, std::functionto_json()); } - Json::StreamWriterBuilder jw; - auto resp = HttpResponse::newHttpJsonResponse(all_relays_json); callback(resp);