summaryrefslogtreecommitdiff
path: root/examples/System_V_IPC
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-12 13:40:56 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-12 13:40:56 +0000
commit366784b9804535b5d17ee121f5783ab9a484f701 (patch)
tree2e397f57e9f9c1fb27defd3e676bbd458f5cd88f /examples/System_V_IPC
parentbad09492bc4fd62e87813de814c4053848c78b49 (diff)
downloadATCD-366784b9804535b5d17ee121f5783ab9a484f701.tar.gz
removed unused variable SHMSZ
Diffstat (limited to 'examples/System_V_IPC')
-rw-r--r--examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp b/examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp
index 9609b6259d0..bd7b95231a9 100644
--- a/examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp
+++ b/examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp
@@ -18,7 +18,6 @@ static ACE_Malloc<ACE_SHARED_MEMORY_POOL, ACE_SV_Semaphore_Simple> my_alloc;
const int SEM_KEY_1 = ACE_DEFAULT_SEM_KEY + 1;
const int SEM_KEY_2 = ACE_DEFAULT_SEM_KEY + 2;
-const int SHMSZ = 27;
static int
parent (char *shm)
@@ -90,7 +89,7 @@ main (int, char *[])
int main (int, char *[])
{
ACE_ERROR ((LM_ERROR,
- "SYSV IPC is not supported on this platform\n"));
+ "SYSV IPC is not supported on this platform\n"));
return 0;
}
#endif /* ACE_HAS_SYSV_IPC */