time-manager: fix warning for unused variables
Change-Id: I90c85fb44441a0df548b532c466b2797cbb9fc46
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/time-manager.cpp b/time-manager.cpp
index 206e4b6..f9e307e 100644
--- a/time-manager.cpp
+++ b/time-manager.cpp
@@ -150,8 +150,6 @@
int TimeManager::setTime(sd_bus_message* m, void* userdata,
sd_bus_error* retError)
{
- long long int timeInUsec {};
-
const char* target = nullptr;
auto r = sd_bus_message_read(m, "s", &target);
if (r < 0)
@@ -518,7 +516,6 @@
{
auto tmgr = static_cast<TimeManager*>(userdata);
const char* key = nullptr;
- const char* value = nullptr;
auto newPgood = -1;
auto r = 0;