mpd_error.h: remove obsolete header

Migrate the remaining callers to FatalError().
This commit is contained in:
Max Kellermann
2013-09-05 18:20:52 +02:00
parent 3330aa6f6a
commit 7a4c9f5f4c
19 changed files with 69 additions and 96 deletions

View File

@@ -24,8 +24,8 @@
#include "ConfigData.hxx"
#include "ConfigGlobal.hxx"
#include "ConfigOption.hxx"
#include "mpd_error.h"
#include "util/Error.hxx"
#include "system/FatalError.hxx"
static AudioFormat configured_audio_format;
@@ -47,6 +47,6 @@ void initAudioConfig(void)
Error error;
if (!audio_format_parse(configured_audio_format, param->value,
true, error))
MPD_ERROR("error parsing line %i: %s",
param->line, error.GetMessage());
FormatFatalError("error parsing line %i: %s",
param->line, error.GetMessage());
}