summaryrefslogtreecommitdiff
path: root/src/components/protocol_handler/src/protocol_handler_impl.cc
diff options
context:
space:
mode:
authorjacobkeeler <jacob.keeler@livioradio.com>2018-08-21 11:25:43 -0400
committerjacobkeeler <jacob.keeler@livioradio.com>2018-08-21 11:25:43 -0400
commitc64e00ccfbedd780f1428d7e8e93ae643dc2f5ed (patch)
tree93e405db0d2bbfaff4e01b5f0e52e910a270c08c /src/components/protocol_handler/src/protocol_handler_impl.cc
parent7af24abf612e7dbd0d413d69796b53f850d94c27 (diff)
downloadsdl_core-c64e00ccfbedd780f1428d7e8e93ae643dc2f5ed.tar.gz
Fix build failures when ENABLE_LOG=OFF
Diffstat (limited to 'src/components/protocol_handler/src/protocol_handler_impl.cc')
-rw-r--r--src/components/protocol_handler/src/protocol_handler_impl.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/protocol_handler/src/protocol_handler_impl.cc b/src/components/protocol_handler/src/protocol_handler_impl.cc
index 7dcf4d97f7..b595c977aa 100644
--- a/src/components/protocol_handler/src/protocol_handler_impl.cc
+++ b/src/components/protocol_handler/src/protocol_handler_impl.cc
@@ -290,6 +290,7 @@ void ProtocolHandlerImpl::SendStartSessionAck(
static_cast<int64_t>(
protocol_header_validator_.max_payload_size_by_service_type(
serviceTypeValue)));
+ UNUSED(mtu_written)
LOG4CXX_DEBUG(logger_,
"MTU parameter was written to bson params: "
<< mtu_written << "; Value: "
@@ -300,6 +301,7 @@ void ProtocolHandlerImpl::SendStartSessionAck(
// Hash ID is only used in RPC case
const bool hash_written = bson_object_put_int32(
&params, strings::hash_id, static_cast<int32_t>(hash_id));
+ UNUSED(hash_written);
LOG4CXX_DEBUG(logger_,
"Hash parameter was written to bson params: "
<< hash_written << "; Value: "
@@ -317,6 +319,7 @@ void ProtocolHandlerImpl::SendStartSessionAck(
const bool protocol_ver_written = bson_object_put_string(
&params, strings::protocol_version, protocolVersionString);
+ UNUSED(protocol_ver_written);
LOG4CXX_DEBUG(
logger_,
"Protocol version parameter was written to bson params: "