summaryrefslogtreecommitdiff
path: root/netsvcs/clients/Tokens
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-19 02:56:31 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-19 02:56:31 +0000
commit1b28393f33125be4544589230b789c88dbee6ad9 (patch)
treef1e5f1cffc9a2458918f60cb2a83eaedc5021e22 /netsvcs/clients/Tokens
parentbbab477fc8ad765e53ff33d6b304960879e4ec67 (diff)
downloadATCD-1b28393f33125be4544589230b789c88dbee6ad9.tar.gz
comment out unused variables, and return 0 instead of 42!
Diffstat (limited to 'netsvcs/clients/Tokens')
-rw-r--r--netsvcs/clients/Tokens/collection/collection.cpp6
-rw-r--r--netsvcs/clients/Tokens/collection/rw_locks.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/netsvcs/clients/Tokens/collection/collection.cpp b/netsvcs/clients/Tokens/collection/collection.cpp
index e3dc18d8008..68f7e40b0a4 100644
--- a/netsvcs/clients/Tokens/collection/collection.cpp
+++ b/netsvcs/clients/Tokens/collection/collection.cpp
@@ -32,11 +32,11 @@
static char *server_host = ACE_DEFAULT_SERVER_HOST;
static int server_port = ACE_DEFAULT_SERVER_PORT;
-static int threads = 2;
+// unused: static int threads = 2;
static int iterations = 50;
static int debug = 0;
static int remote = 0;
-static int tokens = 5;
+// unused: static int tokens = 5;
static void *
run_thread (void *vp)
@@ -198,7 +198,7 @@ main (int argc, char* argv[])
// Wait for all threads to exit.
mgr->wait ();
- return 42;
+ return 0;
}
#else
diff --git a/netsvcs/clients/Tokens/collection/rw_locks.cpp b/netsvcs/clients/Tokens/collection/rw_locks.cpp
index 89ca35f1a9b..1e26744338f 100644
--- a/netsvcs/clients/Tokens/collection/rw_locks.cpp
+++ b/netsvcs/clients/Tokens/collection/rw_locks.cpp
@@ -162,7 +162,7 @@ main (int argc, char* argv[])
mgr.wait ();
- return 42;
+ return 0;
}
#else