mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gcredentials: Add assertion to pacify static analysis
This should always be true. https://bugzilla.gnome.org/show_bug.cgi?id=733576
This commit is contained in:
parent
8ebd287fe6
commit
91821974e1
@ -335,6 +335,7 @@ credentials_native_type_check (GCredentialsType requested_type,
|
||||
|
||||
#if G_CREDENTIALS_SUPPORTED
|
||||
supported = g_enum_get_value (enum_class, G_CREDENTIALS_NATIVE_TYPE);
|
||||
g_assert (supported);
|
||||
g_warning ("g_credentials_%s_native: Trying to %s credentials of type %s "
|
||||
"but only %s is supported on this platform.",
|
||||
op, op,
|
||||
|
Loading…
Reference in New Issue
Block a user