aboutsummaryrefslogtreecommitdiff
path: root/qobject/qjson.c
diff options
context:
space:
mode:
Diffstat (limited to 'qobject/qjson.c')
-rw-r--r--qobject/qjson.c3
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();
}
}