summaryrefslogtreecommitdiff
path: root/ACE/tests/SV_Shared_Memory_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/SV_Shared_Memory_Test.cpp')
-rw-r--r--ACE/tests/SV_Shared_Memory_Test.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/ACE/tests/SV_Shared_Memory_Test.cpp b/ACE/tests/SV_Shared_Memory_Test.cpp
index 305e3785c96..f8351395346 100644
--- a/ACE/tests/SV_Shared_Memory_Test.cpp
+++ b/ACE/tests/SV_Shared_Memory_Test.cpp
@@ -140,15 +140,6 @@ run_main (int, ACE_TCHAR *[])
#if defined (ACE_HAS_SYSV_IPC) && !defined (ACE_LACKS_FORK) && \
!defined(ACE_LACKS_SYSV_SHMEM)
-
- // Check whether allocator was initialized.
- if (myallocator ().bad ())
- {
- ACE_ERROR_RETURN ((LM_ERROR,
- ACE_TEXT ("Unable to initialize allocator\n")),
- -1);
- }
-
char *shm = reinterpret_cast<char *> (myallocator ().malloc (SHMSZ));
// Create the mutex and synch before spawning the child process, to