Permalink
Browse files

Fix warnings introduced by previous commits.

  • Loading branch information...
fragglet committed Sep 9, 2018
1 parent b695b71 commit 3e0dc2d65cc5d31dc5ef1348af1681b032ab0a80
Showing with 5 additions and 6 deletions.
  1. +1 −1 src/d_iwad.c
  2. +1 −2 src/i_sdlmusic.c
  3. +1 −1 src/m_argv.c
  4. +1 −1 src/m_argv.h
  5. +1 −1 src/setup/mode.c
View
@@ -525,7 +525,7 @@ static char *SearchDirectoryForIWAD(const char *dir, int mask, GameMission_t *mi
// When given an IWAD with the '-iwad' parameter,
// attempt to identify it by its name.
static GameMission_t IdentifyIWADByName(char *name, int mask)
static GameMission_t IdentifyIWADByName(const char *name, int mask)
{
size_t i;
GameMission_t mission;
View
@@ -497,7 +497,6 @@ static int ParseHexDigit(char c)
static char *GetFullPath(char *base_filename, char *path)
{
char *basedir, *result;
char *p;
// Starting with directory separator means we have an absolute path,
// so just return it.
@@ -805,7 +804,7 @@ static void DumpSubstituteConfig(char *filename)
static boolean WriteWrapperTimidityConfig(char *write_path)
{
char *p, *path;
char *path;
FILE *fstream;
if (!strcmp(timidity_cfg_path, ""))
View
@@ -243,7 +243,7 @@ void M_FindResponseFile(void)
// Return the name of the executable used to start the program:
char *M_GetExecutableName(void)
const char *M_GetExecutableName(void)
{
return M_BaseName(myargv[0]);
}
View
@@ -44,6 +44,6 @@ boolean M_ParmExists(const char *check);
// Get name of executable used to run this program:
char *M_GetExecutableName(void);
const char *M_GetExecutableName(void);
#endif
View
@@ -245,7 +245,7 @@ static mission_config_t *GetMissionForName(char *name)
static boolean CheckExecutableName(GameSelectCallback callback)
{
mission_config_t *config;
char *exe_name;
const char *exe_name;
int i;
exe_name = M_GetExecutableName();

0 comments on commit 3e0dc2d

Please sign in to comment.