Commit 8118bc93 authored by Max Kellermann's avatar Max Kellermann

FatalError: remove unused GError overload

parent c772bc45
...@@ -68,12 +68,6 @@ FatalError(const char *msg, const Error &error) ...@@ -68,12 +68,6 @@ FatalError(const char *msg, const Error &error)
} }
void void
FatalError(GError *error)
{
FatalError(error->message);
}
void
FatalError(const char *msg, GError *error) FatalError(const char *msg, GError *error)
{ {
FormatFatalError("%s: %s", msg, error->message); FormatFatalError("%s: %s", msg, error->message);
......
...@@ -47,10 +47,6 @@ FatalError(const char *msg, const Error &error); ...@@ -47,10 +47,6 @@ FatalError(const char *msg, const Error &error);
gcc_noreturn gcc_noreturn
void void
FatalError(GError *error);
gcc_noreturn
void
FatalError(const char *msg, GError *error); FatalError(const char *msg, GError *error);
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment