summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-01-06 13:19:02 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-01-06 13:19:02 +0100
commitc300a16149e6667830909bc40685be8fda4c1712 (patch)
treecc4ac997bc75f5236bbcbaa8abeb8926d096c827
parent35f9733fb9f06bba5c79e8854bcac9911fcb5c48 (diff)
downloadATCD-c300a16149e6667830909bc40685be8fda4c1712.tar.gz
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:
-rw-r--r--ACE/ace/Timer_List_T.h2
-rw-r--r--TAO/orbsvcs/tests/HTIOP/AMI/Test_Output.cpp2
-rw-r--r--TAO/orbsvcs/tests/HTIOP/BiDirectional/Test_Output.cpp2
-rw-r--r--TAO/orbsvcs/tests/HTIOP/Hello/Test_Output.cpp2
4 files changed, 3 insertions, 5 deletions
diff --git a/ACE/ace/Timer_List_T.h b/ACE/ace/Timer_List_T.h
index 81c5e20fed9..1e7ed649c6d 100644
--- a/ACE/ace/Timer_List_T.h
+++ b/ACE/ace/Timer_List_T.h
@@ -166,7 +166,6 @@ public:
virtual ACE_Timer_Node_T<TYPE>* get_first (void);
private:
-
/**
* Schedule @a type that will expire at @a future_time, which is
* specified in absolute time. If it expires then @a act is passed
@@ -198,7 +197,6 @@ private:
ACE_Timer_Node_T<TYPE>* get_first_i(void) const;
private:
-
/// Pointer to linked list of <ACE_Timer_Handles>.
ACE_Timer_Node_T<TYPE>* head_;
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)