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.
This commit is contained in:
committed by
Jon Trulson
parent
d6b6353f95
commit
e738704385
@@ -68,7 +68,6 @@ ttdnd_init(
|
||||
{
|
||||
int mark = tt_mark();
|
||||
const char *t, **vt;
|
||||
int validtypecount, i;
|
||||
|
||||
|
||||
if (tt_ptr_error(tt_open())>TT_WRN_LAST) {
|
||||
@@ -238,7 +237,6 @@ _ttdnd_get_contents_callback(m, p)
|
||||
Tt_message m;
|
||||
Tt_pattern p;
|
||||
{
|
||||
int xid;
|
||||
int chunknumber;
|
||||
int maxchunk;
|
||||
char *type;
|
||||
|
||||
Reference in New Issue
Block a user