Fix most of the following classes of warnings in the ToolTalk libraries:
authorChris Wareham <chris@chriswareham.net>
Tue, 14 Aug 2012 10:49:53 +0000 (11:49 +0100)
committerJon Trulson <jon@radscan.com>
Tue, 14 Aug 2012 18:43:44 +0000 (12:43 -0600)
commite7387043851d04fed07e011ca482d25c8ee354a3
tree076421df989958ca906eae0c93fdcf2c19c20a61
parentd6b6353f95722dd664d1025ccd52b2b42258b53b
Fix most of the following classes of warnings in the ToolTalk libraries:

- Const strings referenced by non-const variables.
- Incorrect format specifers for printing addresses
- Unused variables
- Signed comparison to unsigned

Also fix an incorrect enumeration value in a switch statement.
29 files changed:
cde/lib/tt/lib/api/c/api_file.C
cde/lib/tt/lib/api/c/api_storage.C
cde/lib/tt/lib/api/dnd/ttdnd.c
cde/lib/tt/lib/db/db_server.h
cde/lib/tt/lib/db/db_server_clnt.C
cde/lib/tt/lib/db/old_db_server_functions.C
cde/lib/tt/lib/db/tt_db_client.C
cde/lib/tt/lib/db/tt_db_file.C
cde/lib/tt/lib/db/tt_db_key.C
cde/lib/tt/lib/db/tt_db_rpc_message_routines.C
cde/lib/tt/lib/db/tt_db_rpc_routines.C
cde/lib/tt/lib/mp/mp_auth.C
cde/lib/tt/lib/mp/mp_auth_functions.C
cde/lib/tt/lib/mp/mp_auth_functions.h
cde/lib/tt/lib/mp/mp_c_procid.C
cde/lib/tt/lib/mp/mp_c_session.C
cde/lib/tt/lib/mp/mp_pattern.C
cde/lib/tt/lib/mp/mp_rpc_client.C
cde/lib/tt/lib/tttk/ttdesktop.C
cde/lib/tt/lib/tttk/tttk2free.C
cde/lib/tt/lib/util/tt_audit.C
cde/lib/tt/lib/util/tt_audit.h
cde/lib/tt/lib/util/tt_enumname.C
cde/lib/tt/lib/util/tt_host.C
cde/lib/tt/lib/util/tt_host_equiv.C
cde/lib/tt/lib/util/tt_trace.C
cde/lib/tt/lib/util/tt_trace.h
cde/lib/tt/lib/util/tt_trace_stream.C
cde/lib/tt/lib/util/tt_xdr_utils.C