diff options
author | Gerald Combs <gerald@wireshark.org> | 2011-03-25 23:45:48 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2011-03-25 23:45:48 +0000 |
commit | 4ee10e769e2cfeb58835d5976b0941ca8a0b5a28 (patch) | |
tree | 47d6ea0cbcc9d049ffd24ecba7da57a9c1e11b3e /wiretap/vms.c | |
parent | 321149bcd7a3ce05e5b5f40067e22e34572dc0f0 (diff) |
Fix Coverity CIDs 810 & 811: uninitialized variables.
svn path=/trunk/; revision=36340
Diffstat (limited to 'wiretap/vms.c')
-rw-r--r-- | wiretap/vms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wiretap/vms.c b/wiretap/vms.c index 92c3ae08b0..0ae07ba368 100644 --- a/wiretap/vms.c +++ b/wiretap/vms.c @@ -377,6 +377,8 @@ parse_vms_rec_hdr(wtap *wth, FILE_T fh, int *err, gchar **err_info) static const gchar months[] = "JANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC"; tm.tm_year = 1970; + tm.tm_mon = 0; + tm.tm_mday = 1; tm.tm_hour = 1; tm.tm_min = 1; tm.tm_sec = 1; |