diff options
author | Gerald Combs <gerald@wireshark.org> | 2011-02-16 00:44:12 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2011-02-16 00:44:12 +0000 |
commit | 8af7080001f39d7bf01b41c759587c0d1e09b07e (patch) | |
tree | f1842a9e703492106ae0f996e7840e8a46dcb575 /wiretap/cosine.c | |
parent | f3bbbce5e3d97b144178a8013782229b9fafaf2a (diff) |
Fix errors found by the Visual C++ analyzer.
svn path=/trunk/; revision=35954
Diffstat (limited to 'wiretap/cosine.c')
-rw-r--r-- | wiretap/cosine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/cosine.c b/wiretap/cosine.c index 3f8fafedb4..83cd8cc025 100644 --- a/wiretap/cosine.c +++ b/wiretap/cosine.c @@ -377,7 +377,7 @@ parse_cosine_rec_hdr(wtap *wth, const char *line, int yy, mm, dd, hr, min, sec, csec, pkt_len; int pro, off, pri, rm, error; guint code1, code2; - char if_name[COSINE_MAX_IF_NAME_LEN], direction[6]; + char if_name[COSINE_MAX_IF_NAME_LEN] = "", direction[6] = ""; struct tm tm; if (sscanf(line, "%d-%d-%d,%d:%d:%d.%d:", |