Define the wtap_rec next to the Buffer.

They are used together; put them together.

Change-Id: I13ec1f37a9a141d3717bfde4db6f1b7e501fb794
Reviewed-on: https://code.wireshark.org/review/29928
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2018-09-29 13:12:57 -07:00
parent 91030a16aa
commit 90d6219efa
1 changed files with 1 additions and 1 deletions

2
file.c
View File

@ -2058,6 +2058,7 @@ process_specified_records(capture_file *cf, packet_range_t *range,
{
guint32 framenum;
frame_data *fdata;
wtap_rec rec;
Buffer buf;
psp_return_t ret = PSP_FINISHED;
@ -2068,7 +2069,6 @@ process_specified_records(capture_file *cf, packet_range_t *range,
GTimeVal progbar_start_time;
gchar progbar_status_str[100];
range_process_e process_this;
wtap_rec rec;
wtap_rec_init(&rec);
ws_buffer_init(&buf, 1500);