diff options
Diffstat (limited to 'qobject')
-rw-r--r-- | qobject/qjson.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qobject/qjson.c b/qobject/qjson.c index 12c576d548..f2857c13ea 100644 --- a/qobject/qjson.c +++ b/qobject/qjson.c @@ -260,9 +260,8 @@ static void to_json(const QObject *obj, QString *str, int pretty, int indent) } case QTYPE_QERROR: /* XXX: should QError be emitted? */ - case QTYPE_NONE: break; - case QTYPE_MAX: + default: abort(); } } |