From d9e84736777908cd23ce1f7e935fa8b43849685c Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 24 May 2017 01:37:04 +0200 Subject: Initialize the new socket member. Change-Id: Ia267c7ec605c692222ddcaed112486f81b428200 Signed-off-by: Romain Forlot --- CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp') diff --git a/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp b/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp index 35a6c562..28bf816a 100644 --- a/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp +++ b/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp @@ -61,7 +61,8 @@ active_diagnostic_request_t::active_diagnostic_request_t() recurring_{false}, wait_for_multiple_responses_{false}, frequency_clock_{frequency_clock_t()}, - timeout_clock_{frequency_clock_t()} + timeout_clock_{frequency_clock_t()}, + socket_{} {} active_diagnostic_request_t::active_diagnostic_request_t(const std::string& bus, DiagnosticRequest* request, @@ -79,7 +80,8 @@ active_diagnostic_request_t::active_diagnostic_request_t(const std::string& bus, recurring_{frequencyHz ? true : false}, wait_for_multiple_responses_{wait_for_multiple_responses}, frequency_clock_{frequency_clock_t(frequencyHz)}, - timeout_clock_{frequency_clock_t(10)} + timeout_clock_{frequency_clock_t(10)}, + socket_{} {} active_diagnostic_request_t::~active_diagnostic_request_t() -- cgit 1.2.3-korg