mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 04:36:17 +01:00
win32: silence build warning
gdbusauthmechanismexternal.c: In function 'mechanism_client_initiate': gdbusauthmechanismexternal.c:355:3: warning: 'initial_response' may be used uninitialized in this function [-Wmaybe-uninitialized] return initial_response; ^ gdbusauthmechanismexternal.c:332:10: note: 'initial_response' was declared here https://bugzilla.gnome.org/show_bug.cgi?id=711547
This commit is contained in:
parent
2873b3c20c
commit
a8f58fcfec
@ -325,7 +325,7 @@ mechanism_client_initiate (GDBusAuthMechanism *mechanism,
|
|||||||
gsize *out_initial_response_len)
|
gsize *out_initial_response_len)
|
||||||
{
|
{
|
||||||
GDBusAuthMechanismExternal *m = G_DBUS_AUTH_MECHANISM_EXTERNAL (mechanism);
|
GDBusAuthMechanismExternal *m = G_DBUS_AUTH_MECHANISM_EXTERNAL (mechanism);
|
||||||
gchar *initial_response;
|
gchar *initial_response = NULL;
|
||||||
GCredentials *credentials;
|
GCredentials *credentials;
|
||||||
|
|
||||||
g_return_val_if_fail (G_IS_DBUS_AUTH_MECHANISM_EXTERNAL (mechanism), NULL);
|
g_return_val_if_fail (G_IS_DBUS_AUTH_MECHANISM_EXTERNAL (mechanism), NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user