Fix uninitialized (or unused) fields.

This commit is contained in:
Jon Siwek 2013-09-27 10:13:52 -05:00
parent 64f3bef96d
commit 775ec6795e
62 changed files with 135 additions and 98 deletions

View file

@ -1037,6 +1037,7 @@ void ConversionSerializer::GotPacket(Packet* p)
}
EventPlayer::EventPlayer(const char* file)
: stream_time(), replay_time(), ne_time(), ne_handler(), ne_args()
{
if ( ! OpenFile(file, true) || fd < 0 )
Error(fmt("event replayer: cannot open %s", file));