After changing ERROR();exit() to FATAL(), gcc incorrectly detects some

uninitialized variables and non-returning functions that return.  Let's
tell it to stfu.

git-svn-id: https://svn.musicpd.org/mpd/trunk@6277 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
J. Alexander Treuman
2007-05-26 18:20:53 +00:00
parent bba444524e
commit 93e68adc79
3 changed files with 6 additions and 6 deletions

View File

@@ -117,7 +117,7 @@ static int myShout_initDriver(AudioOutput * audioOutput, ConfigParam * param)
char *user;
char *name;
BlockParam *blockParam;
unsigned int public;
unsigned int public = 0;
sd = newShoutData();
@@ -157,8 +157,7 @@ static int myShout_initDriver(AudioOutput * audioOutput, ConfigParam * param)
FATAL("public \"%s\" is not \"yes\" or \"no\" at line "
"%i\n", param->value, param->line);
}
} else
public = 0;
}
blockParam = getBlockParam(param, "user");
if (blockParam)