summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Pankow <brad@livio.io>2016-07-25 17:28:11 -0400
committerBrad Pankow <brad@livio.io>2016-07-26 13:27:44 -0400
commit2c65a9643624d9081cb178b376f60804d3f724cc (patch)
treec294bb4bd0073910535acbfe5bab785efa7ba12a
parent9bfffdea3c545b8573b113442b7c70f9cf642d29 (diff)
downloadsdl_core-2c65a9643624d9081cb178b376f60804d3f724cc.tar.gz
Initialize thread delegate to NULL before use (CID 80087)
-rw-r--r--src/components/hmi_message_handler/src/mqueue_adapter.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/hmi_message_handler/src/mqueue_adapter.cc b/src/components/hmi_message_handler/src/mqueue_adapter.cc
index 825c27c048..171f6e25e4 100644
--- a/src/components/hmi_message_handler/src/mqueue_adapter.cc
+++ b/src/components/hmi_message_handler/src/mqueue_adapter.cc
@@ -78,6 +78,7 @@ MqueueAdapter::MqueueAdapter(HMIMessageHandler* hmi_message_handler)
: HMIMessageAdapter(hmi_message_handler),
sdl_to_hmi_mqueue_(-1),
hmi_to_sdl_mqueue_(-1),
+ receiver_thread_delegate_(NULL),
receiver_thread_(NULL) {
mq_attr mq_attributes;
mq_attributes.mq_maxmsg = kMqueueSize;