diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2016-04-28 08:32:37 -0400 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2016-04-28 14:54:47 +0000 |
commit | c22bf7ef7f5edb7d79c5315341673804494f784a (patch) | |
tree | 019f6fe091d193bb34512e39bd3a2bf723f74b49 /ui/qt/uat_dialog.cpp | |
parent | 94200b396170e93f9f59f61a88e8a35eee7b9602 (diff) | |
download | wireshark-c22bf7ef7f5edb7d79c5315341673804494f784a.tar.gz |
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>
Diffstat (limited to 'ui/qt/uat_dialog.cpp')
-rw-r--r-- | ui/qt/uat_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/uat_dialog.cpp b/ui/qt/uat_dialog.cpp index f5bce2fd3b..db64e3f78f 100644 --- a/ui/qt/uat_dialog.cpp +++ b/ui/qt/uat_dialog.cpp @@ -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)) { |