Fix redefinition of local variable in gio/gdbusconnection.c

This commit is contained in:
Loic Le Page 2022-01-19 18:30:49 +01:00 committed by Loïc Le Page
parent 979b9af242
commit c2b60e0323

View File

@ -5977,11 +5977,11 @@ g_dbus_connection_call_internal (GDBusConnection *connection,
}
else
{
GDBusMessageFlags flags;
GDBusMessageFlags msg_flags;
flags = g_dbus_message_get_flags (message);
flags |= G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED;
g_dbus_message_set_flags (message, flags);
msg_flags = g_dbus_message_get_flags (message);
msg_flags |= G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED;
g_dbus_message_set_flags (message, msg_flags);
g_dbus_connection_send_message (connection,
message,