summaryrefslogtreecommitdiff
path: root/qobject/qjson.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-03-17 14:29:59 +0100
committerMarkus Armbruster <armbru@redhat.com>2015-06-22 18:20:40 +0200
commit4629ed1e98961bbe678db68ef5f4342ff174a6c3 (patch)
treef4f60bef891ba25caf9c9c3095a666418b58de3a /qobject/qjson.c
parent485febc6d1382a82e4e1640729fffbf0c1392a44 (diff)
downloadqemu-4629ed1e98961bbe678db68ef5f4342ff174a6c3.tar.gz
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 <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qobject/qjson.c')
-rw-r--r--qobject/qjson.c3
1 files changed, 0 insertions, 3 deletions
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();
}