uat_dialog (Qt): uat_ can't be NULL here, no need to check it. (CID 1358793)

Change-Id: I58d402b95a029066abd41438d652a5c805ca166d
Reviewed-on: https://code.wireshark.org/review/15140
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
This commit is contained in:
Jeff Morriss 2016-04-28 08:32:37 -04:00
parent 94200b3961
commit c22bf7ef7f
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ void UatDialog::enumPrefCurrentIndexChanged(int index)
g_free(err);
ok_button_->setEnabled(false);
uat_update_record(uat_, rec, FALSE);
} else if (uat_ && uat_->update_cb) {
} else if (uat_->update_cb) {
field->cb.set(rec, enum_txt.constData(), (unsigned) enum_txt.size(), field->cbdata.set, field->fld_data);
if (!uat_->update_cb(rec, &err)) {