mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
gio/tests: Add a dynamic type check assertion
This shuts up a static analysis false positive, and adds some extra checking. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=113075
This commit is contained in:
parent
32118951ea
commit
c9344fd513
@ -1665,7 +1665,7 @@ legacy_error_return (gpointer user_data)
|
||||
}
|
||||
else
|
||||
{
|
||||
GSimpleAsyncResult *simple = user_data;
|
||||
GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT (user_data);
|
||||
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
|
||||
g_simple_async_result_set_error (simple,
|
||||
|
Loading…
Reference in New Issue
Block a user