diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-01-06 15:33:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 15:33:22 +0100 |
commit | 64461030796afb9c7ba8faa9a15daa7be72d8487 (patch) | |
tree | b5e7229c64a7a7b06f96ea47f32d84a11727c757 | |
parent | 8458656e2a7e13abea6e21b3d2ecc07174bccf53 (diff) | |
parent | 203c2f44afa8c76ffec52128239558834c7c69fd (diff) | |
download | ATCD-64461030796afb9c7ba8faa9a15daa7be72d8487.tar.gz |
Merge pull request #1393 from jwillemsen/jwi-layout2
Layout changes and initialise some pointers
-rw-r--r-- | ACE/ace/OS_NS_Thread.cpp | 1 | ||||
-rw-r--r-- | ACE/ace/Timer_List_T.h | 2 | ||||
-rw-r--r-- | ACE/protocols/tests/HTBP/Reactor_Tests/test_config.h | 2 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/HTIOP/AMI/Test_Output.cpp | 2 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/HTIOP/BiDirectional/Test_Output.cpp | 2 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/HTIOP/Hello/Test_Output.cpp | 2 |
6 files changed, 4 insertions, 7 deletions
diff --git a/ACE/ace/OS_NS_Thread.cpp b/ACE/ace/OS_NS_Thread.cpp index 4c94dd13120..ef2f13ac2a0 100644 --- a/ACE/ace/OS_NS_Thread.cpp +++ b/ACE/ace/OS_NS_Thread.cpp @@ -3340,7 +3340,6 @@ ACE_OS::sched_params (const ACE_Sched_Params &sched_params, if (sched_params.scope () == ACE_SCOPE_THREAD) { - // Setting the REALTIME_PRIORITY_CLASS on Windows is almost always // a VERY BAD THING. This include guard will allow people // to easily disable this feature in ACE. 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/ACE/protocols/tests/HTBP/Reactor_Tests/test_config.h b/ACE/protocols/tests/HTBP/Reactor_Tests/test_config.h index 9576356d5fd..67e46f054e8 100644 --- a/ACE/protocols/tests/HTBP/Reactor_Tests/test_config.h +++ b/ACE/protocols/tests/HTBP/Reactor_Tests/test_config.h @@ -203,7 +203,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) test_dir = ACE_OS::getenv (ACE_TEXT ("ACE_TEST_DIR")); 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) |