_dbus_validity_to_error_message: add missing cases

[smcv: split out from a larger commit]
Reviewed-by: Simon McVittie <smcv@debian.org>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98191
This commit is contained in:
Thomas Zimmermann 2016-08-23 20:43:37 +02:00 committed by Simon McVittie
parent 1291547d2b
commit 81a99b4833

View file

@ -898,7 +898,9 @@ _dbus_validity_to_error_message (DBusValidity validity)
case DBUS_INVALID_DICT_ENTRY_HAS_TOO_MANY_FIELDS: return "Dict entry has too many fields";
case DBUS_INVALID_DICT_ENTRY_NOT_INSIDE_ARRAY: return "Dict entry not inside array";
case DBUS_INVALID_DICT_KEY_MUST_BE_BASIC_TYPE: return "Dict key must be basic type";
case DBUS_INVALID_MISSING_UNIX_FDS: return "Unix file descriptor missing";
case DBUS_INVALID_NESTED_TOO_DEEPLY: return "Variants cannot be used to create a hugely recursive tree of values";
case DBUS_VALIDITY_LAST:
default:
return "Invalid";
}