From 4629ed1e98961bbe678db68ef5f4342ff174a6c3 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Tue, 17 Mar 2015 14:29:59 +0100 Subject: qerror: Finally unused, clean up Remove it except for two things in qerror.h: * Two #include to be cleaned up separately to avoid cluttering this patch. * The QERR_ macros. Mark as obsolete. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Reviewed-by: Luiz Capitulino --- qobject/qjson.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'qobject/qjson.c') diff --git a/qobject/qjson.c b/qobject/qjson.c index f022edce1e..33f8ef530c 100644 --- a/qobject/qjson.c +++ b/qobject/qjson.c @@ -261,9 +261,6 @@ static void to_json(const QObject *obj, QString *str, int pretty, int indent) } break; } - case QTYPE_QERROR: - /* XXX: should QError be emitted? */ - break; default: abort(); } -- cgit v1.2.3