mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 14:06:15 +01:00
Silence valgrind
Initialize all fields of struct msghdr. Bug 625472.
This commit is contained in:
parent
b6c42d05c0
commit
d01a437490
@ -2776,6 +2776,8 @@ g_socket_send_message (GSocket *socket,
|
||||
struct msghdr msg;
|
||||
gssize result;
|
||||
|
||||
msg.msg_flags = 0;
|
||||
|
||||
/* name */
|
||||
if (address)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user