summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_message.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_message.cc')
-rw-r--r--ipc/ipc_message.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipc/ipc_message.cc b/ipc/ipc_message.cc
index 7e5b77b..a532a8d 100644
--- a/ipc/ipc_message.cc
+++ b/ipc/ipc_message.cc
@@ -23,6 +23,7 @@ Message::Message()
header()->routing = header()->type = header()->flags = 0;
#if defined(OS_POSIX)
header()->num_fds = 0;
+ header()->pad = 0;
#endif
InitLoggingVariables();
}
@@ -34,6 +35,7 @@ Message::Message(int32 routing_id, uint32 type, PriorityValue priority)
header()->flags = priority;
#if defined(OS_POSIX)
header()->num_fds = 0;
+ header()->pad = 0;
#endif
InitLoggingVariables();
}