SMB2: fix Uninitialized variables (UNINIT) (CID 1354418)

Change-Id: I69c949821395e3272cbb5bc7c7a142b5482f9d52
Reviewed-on: https://code.wireshark.org/review/14219
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
This commit is contained in:
Alexis La Goutte 2016-02-28 10:25:58 +01:00 committed by Jaap Keuter
parent 656cbdfe4a
commit aeb0cd08fd
2 changed files with 0 additions and 2 deletions

View File

@ -1713,7 +1713,6 @@ dissect_smb2_fid(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset
} else {
sfi->name = wmem_strdup_printf(wmem_file_scope(), "[unknown]");
}
sfi->open_frame = pinfo->num;
if (si->saved && si->saved->extra_info_type == SMB2_EI_FILENAME) {
fid_name = wmem_strdup_printf(wmem_file_scope(), "File: %s", (char *)si->saved->extra_info);

View File

@ -54,7 +54,6 @@ typedef struct _smb2_fid_info_t {
guint64 fid_volatile;
guint64 sesid;
guint32 tid;
guint32 open_frame;
char *name;
} smb2_fid_info_t;