Fixed compiler warnings related to const, unreachable code, and an empty translation unit.
This commit is contained in:
parent
38fb2e205f
commit
871677e809
|
|
@ -1641,4 +1641,14 @@ winmessage(char *new_msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#else /* HAS_WINGUI not defined */
|
||||||
|
/* Prevent warning regarding empty translation unit */
|
||||||
|
static void dummy(void)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
} /* end of function dummy */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* HAS_WINGUI */
|
#endif /* HAS_WINGUI */
|
||||||
|
|
|
||||||
|
|
@ -142,7 +142,6 @@ char *MIFgettok(char **s)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return NULL; /* should not happen */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue