bug 521949: make valgrind stop complaining about a false-positive uninitialized memory read

This commit is contained in:
Chris Jones 2009-12-04 16:45:23 -06:00
parent 2037e919a0
commit 8abc83ace0

View File

@ -37,6 +37,7 @@ Message::Message(int32 routing_id, uint16 type, PriorityValue priority)
#endif
#if defined(CHROMIUM_MOZILLA_BUILD)
header()->rpc_remote_stack_depth_guess = static_cast<size_t>(-1);
header()->rpc_local_stack_depth = static_cast<size_t>(-1);
#endif
InitLoggingVariables();
}