diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2007-05-26 18:20:53 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2007-05-26 18:20:53 +0000 |
commit | 93e68adc79e5b8cc534656d848ee15932b3321bf (patch) | |
tree | b1a939c3b184cda029f49c1903d80e7b73054a57 /src/state_file.c | |
parent | bba444524eca700970f69261bc470fb01a138222 (diff) | |
download | mpd-93e68adc79e5b8cc534656d848ee15932b3321bf.tar.gz mpd-93e68adc79e5b8cc534656d848ee15932b3321bf.tar.xz mpd-93e68adc79e5b8cc534656d848ee15932b3321bf.zip |
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
Diffstat (limited to '')
-rw-r--r-- | src/state_file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state_file.c b/src/state_file.c index 1b0b41f1a..ac2fcde7a 100644 --- a/src/state_file.c +++ b/src/state_file.c @@ -106,5 +106,6 @@ void read_state_file(void) void mpd_noreturn state_file_fatal(void) { FATAL("error parsing state file \"%s\"\n", sfpath); + exit(EXIT_FAILURE); } |