Fixed compiler warnings related to const, unreachable code, and an empty translation unit.

This commit is contained in:
Holger Vogt 2020-02-14 22:52:09 +01:00
parent 38fb2e205f
commit 871677e809
2 changed files with 10 additions and 1 deletions

View File

@ -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 */

View File

@ -142,7 +142,6 @@ char *MIFgettok(char **s)
}
break;
}
return NULL; /* should not happen */
}
#if 0