Fix some minor Coverity Scan complaints.

This commit is contained in:
Jon Siwek 2014-10-30 13:25:29 -05:00
parent 432744fde4
commit dec96234e3
6 changed files with 14 additions and 2 deletions

View file

@ -21,6 +21,9 @@ PcapSource::PcapSource(const std::string& path, bool is_live)
{
props.path = path;
props.is_live = is_live;
pd = 0;
memset(&current_hdr, 0, sizeof(current_hdr));
memset(&last_hdr, 0, sizeof(last_hdr));
last_data = 0;
}