summaryrefslogtreecommitdiff
path: root/netsvcs
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-19 17:54:46 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-19 17:54:46 +0000
commit83a1588b4ba3b1768aaa3dd9ef56e82883f59dc4 (patch)
treead434dbd74fc62f4be00c63fcc5cffeb22c0bdb4 /netsvcs
parent6311f42ed15ed9170f8878c1bdb9eee4b9bc5d9c (diff)
downloadATCD-83a1588b4ba3b1768aaa3dd9ef56e82883f59dc4.tar.gz
added ACE_UNUSED_ARG (fd) and return statement at end of create_proxy
Diffstat (limited to 'netsvcs')
-rw-r--r--netsvcs/clients/Tokens/manual/manual.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/netsvcs/clients/Tokens/manual/manual.cpp b/netsvcs/clients/Tokens/manual/manual.cpp
index 3d3cdecf761..9e4d833744e 100644
--- a/netsvcs/clients/Tokens/manual/manual.cpp
+++ b/netsvcs/clients/Tokens/manual/manual.cpp
@@ -177,6 +177,8 @@ STDIN_Token::open (int argc, char *argv[])
int
STDIN_Token::handle_input (ACE_HANDLE fd)
{
+ ACE_UNUSED_ARG (fd);
+
char tid[BUFSIZ];
char token[BUFSIZ];
char type[16];
@@ -256,6 +258,8 @@ STDIN_Token::display_menu (void)
int
STDIN_Token::handle_exception (ACE_HANDLE fd)
{
+ ACE_UNUSED_ARG (fd);
+
ACE_Service_Config::run_reactor_event_loop ();
return -1;
}
@@ -336,6 +340,9 @@ STDIN_Token::create_proxy (const char *token, char type)
else
return new ACE_Local_WLock (token, ignore_deadlock_, debug_);
}
+
+ // should never get here, but this avoids a compiler warning . . .
+ return 0;
}