Properly reset a variable.

Change-Id: I72b125dd4c9d9033ce3e3d779bf28005ee6b52ad
Reviewed-on: https://code.wireshark.org/review/26482
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2018-03-15 08:11:14 -07:00
parent bbe5fc1028
commit be1af00448
1 changed files with 2 additions and 1 deletions

View File

@ -2295,8 +2295,9 @@ col_fill_in_error(column_info *cinfo, frame_data *fdata, const gboolean fill_col
}
gboolean col_data_changed(void) {
return col_data_changed_;
gboolean cur_cdc = col_data_changed_;
col_data_changed_ = FALSE;
return cur_cdc;
}
/*
* Editor modelines