diff options
author | Gerald Combs <gerald@wireshark.org> | 2011-02-17 19:43:16 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2011-02-17 19:43:16 +0000 |
commit | 1b0516a27ea33e0b91f824248a8797f02b6af047 (patch) | |
tree | 969f03666b78e41767f358fbf15cc07c01ab0bf4 /epan/dissectors/packet-afs.c | |
parent | 51e5e75373ed9886e5b311cb6db6dd3a09b0df03 (diff) |
Fix various Visual C++ analysis warnings.
svn path=/trunk/; revision=35985
Diffstat (limited to 'epan/dissectors/packet-afs.c')
-rw-r--r-- | epan/dissectors/packet-afs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-afs.c b/epan/dissectors/packet-afs.c index 32e6ae57ae..61aee1bce6 100644 --- a/epan/dissectors/packet-afs.c +++ b/epan/dissectors/packet-afs.c @@ -1702,7 +1702,7 @@ dissect_acl(tvbuff_t *tvb, struct rxinfo *rxinfo _U_, proto_tree *tree, int offs int old_offset; gint32 bytes; int i, n, pos, neg, acl; - char user[128]; /* Be sure to adjust sscanf()s below if length is changed... */ + char user[128] = "[Unknown]"; /* Be sure to adjust sscanf()s below if length is changed... */ old_offset = offset; bytes = tvb_get_ntohl(tvb, offset); |