summaryrefslogtreecommitdiff
path: root/src/components/transport_manager
diff options
context:
space:
mode:
authorjacobkeeler <jacob.keeler@livioradio.com>2018-09-27 16:53:22 -0400
committerjacobkeeler <jacob.keeler@livioradio.com>2018-09-27 16:53:22 -0400
commitee367877d4126db27061827d1f4c8e0a9f07bc5b (patch)
tree78a26736b8c9d7e84ce2880af9bbb4dee7b38f34 /src/components/transport_manager
parent461f76b129e998d4b60540491684c348dd5c27e2 (diff)
downloadsdl_core-ee367877d4126db27061827d1f4c8e0a9f07bc5b.tar.gz
Fix uninitialized field errors
CID 188297 CID 188291 Also fix request_type typo
Diffstat (limited to 'src/components/transport_manager')
-rw-r--r--src/components/transport_manager/include/transport_manager/tcp/platform_specific/linux/platform_specific_network_interface_listener_impl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/transport_manager/include/transport_manager/tcp/platform_specific/linux/platform_specific_network_interface_listener_impl.h b/src/components/transport_manager/include/transport_manager/tcp/platform_specific/linux/platform_specific_network_interface_listener_impl.h
index a7338b94be..fd90cb0f22 100644
--- a/src/components/transport_manager/include/transport_manager/tcp/platform_specific/linux/platform_specific_network_interface_listener_impl.h
+++ b/src/components/transport_manager/include/transport_manager/tcp/platform_specific/linux/platform_specific_network_interface_listener_impl.h
@@ -22,7 +22,12 @@ class TcpClientListener;
*/
class InterfaceStatus {
public:
- InterfaceStatus() : flags_(0), has_ipv4_(false), has_ipv6_(false) {}
+ InterfaceStatus()
+ : flags_(0)
+ , has_ipv4_(false)
+ , has_ipv6_(false)
+ , ipv4_address_()
+ , ipv6_address_() {}
~InterfaceStatus() {}
bool IsAvailable() const;