From c300a16149e6667830909bc40685be8fda4c1712 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Wed, 6 Jan 2021 13:19:02 +0100 Subject: Initialize pointers * ACE/ace/Timer_List_T.h: * TAO/orbsvcs/tests/HTIOP/AMI/Test_Output.cpp: * TAO/orbsvcs/tests/HTIOP/BiDirectional/Test_Output.cpp: * TAO/orbsvcs/tests/HTIOP/Hello/Test_Output.cpp: --- TAO/orbsvcs/tests/HTIOP/AMI/Test_Output.cpp | 2 +- TAO/orbsvcs/tests/HTIOP/BiDirectional/Test_Output.cpp | 2 +- TAO/orbsvcs/tests/HTIOP/Hello/Test_Output.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'TAO') diff --git a/TAO/orbsvcs/tests/HTIOP/AMI/Test_Output.cpp b/TAO/orbsvcs/tests/HTIOP/AMI/Test_Output.cpp index c66fe3f85be..14ec5f69e5d 100644 --- a/TAO/orbsvcs/tests/HTIOP/AMI/Test_Output.cpp +++ b/TAO/orbsvcs/tests/HTIOP/AMI/Test_Output.cpp @@ -75,7 +75,7 @@ ACE_Test_Output::set_output (const ACE_TCHAR *filename, int append) #else ACE_TCHAR temp[MAXPATHLEN]; // Ignore the error value since the directory may already exist. - const ACE_TCHAR *test_dir; + const ACE_TCHAR *test_dir {}; #if !defined (ACE_HAS_WINCE) # if defined (ACE_WIN32) || !defined (ACE_USES_WCHAR) diff --git a/TAO/orbsvcs/tests/HTIOP/BiDirectional/Test_Output.cpp b/TAO/orbsvcs/tests/HTIOP/BiDirectional/Test_Output.cpp index c66fe3f85be..14ec5f69e5d 100644 --- a/TAO/orbsvcs/tests/HTIOP/BiDirectional/Test_Output.cpp +++ b/TAO/orbsvcs/tests/HTIOP/BiDirectional/Test_Output.cpp @@ -75,7 +75,7 @@ ACE_Test_Output::set_output (const ACE_TCHAR *filename, int append) #else ACE_TCHAR temp[MAXPATHLEN]; // Ignore the error value since the directory may already exist. - const ACE_TCHAR *test_dir; + const ACE_TCHAR *test_dir {}; #if !defined (ACE_HAS_WINCE) # if defined (ACE_WIN32) || !defined (ACE_USES_WCHAR) diff --git a/TAO/orbsvcs/tests/HTIOP/Hello/Test_Output.cpp b/TAO/orbsvcs/tests/HTIOP/Hello/Test_Output.cpp index c66fe3f85be..14ec5f69e5d 100644 --- a/TAO/orbsvcs/tests/HTIOP/Hello/Test_Output.cpp +++ b/TAO/orbsvcs/tests/HTIOP/Hello/Test_Output.cpp @@ -75,7 +75,7 @@ ACE_Test_Output::set_output (const ACE_TCHAR *filename, int append) #else ACE_TCHAR temp[MAXPATHLEN]; // Ignore the error value since the directory may already exist. - const ACE_TCHAR *test_dir; + const ACE_TCHAR *test_dir {}; #if !defined (ACE_HAS_WINCE) # if defined (ACE_WIN32) || !defined (ACE_USES_WCHAR) -- cgit v1.2.1