From f074ff35a48a8f9d14076ed8df8100ade9e43b5b Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 16 Nov 2014 10:52:19 +0100 Subject: [PATCH] added getters, compiler warnings --- src/lib/ebus/data.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/ebus/data.cpp b/src/lib/ebus/data.cpp index b63245b0..a36ede2a 100644 --- a/src/lib/ebus/data.cpp +++ b/src/lib/ebus/data.cpp @@ -239,8 +239,6 @@ result_t DataField::create(std::vector::iterator& it, const std::ve } found = true; DataField* templ = ref->second; - dataType_t dataType = templ->m_dataType; - unsigned char numBytes = (dataType.numBits+7)/8; if (length != 0 && length != templ->m_length) return RESULT_ERR_INVALID_ARG; // different length not possible for derivation unsigned char deriveOffset = offset == 0 ? templ->m_offset : offset;