diff options
author | Guy Harris <gharris@sonic.net> | 2021-02-17 17:08:12 -0800 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-02-18 02:01:34 +0000 |
commit | 881f1048eb7780e13cabf21bcb562a8d545a08a9 (patch) | |
tree | 4619193b8b7be907c8882b3e1fc4b0b89dc0ae65 /epan/dissectors/packet-frame.c | |
parent | dc73b731cad47089dd72e194eea6ad41b55630d9 (diff) |
frame: get rid of an unnecessary initialization.
We initialize a variable and, *immediately* after that, assign it a value.
Diffstat (limited to 'epan/dissectors/packet-frame.c')
-rw-r--r-- | epan/dissectors/packet-frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-frame.c b/epan/dissectors/packet-frame.c index cba71c0399..df7d79ac3f 100644 --- a/epan/dissectors/packet-frame.c +++ b/epan/dissectors/packet-frame.c @@ -800,7 +800,7 @@ dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* case REC_TYPE_FT_SPECIFIC_EVENT: case REC_TYPE_FT_SPECIFIC_REPORT: { - int file_type_subtype = WTAP_FILE_TYPE_SUBTYPE_UNKNOWN; + int file_type_subtype; file_type_subtype = fr_data->file_type_subtype; |