summaryrefslogtreecommitdiff
path: root/ACE/tests/Manual_Event_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Manual_Event_Test.cpp')
-rw-r--r--ACE/tests/Manual_Event_Test.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/ACE/tests/Manual_Event_Test.cpp b/ACE/tests/Manual_Event_Test.cpp
index 1b28d846a71..3c914698d56 100644
--- a/ACE/tests/Manual_Event_Test.cpp
+++ b/ACE/tests/Manual_Event_Test.cpp
@@ -47,9 +47,6 @@ static int test_result = 0;
// state is 0).
static ACE_Manual_Event evt ((unsigned int) 0);
-// Default number of iterations.
-static int n_iterations = 10;
-
// Number of worker threads.
static long n_workers = 10;
@@ -74,7 +71,7 @@ print_usage_and_die (void)
static void
parse_args (int argc, ACE_TCHAR *argv[])
{
- ACE_Get_Opt get_opt (argc, argv, ACE_TEXT ("w:n:"));
+ ACE_Get_Opt get_opt (argc, argv, ACE_TEXT ("w:"));
int c;
@@ -84,9 +81,6 @@ parse_args (int argc, ACE_TCHAR *argv[])
case 'w':
n_workers = ACE_OS::atoi (get_opt.opt_arg ());
break;
- case 'n':
- n_iterations = ACE_OS::atoi (get_opt.opt_arg ());
- break;
default:
print_usage_and_die ();
break;