forked from osmocom/wireshark
Multicast Statistics (Qt Dialog): Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Ie2802293576bf9edb28bccf7d464b5e687185096 Reviewed-on: https://code.wireshark.org/review/10223 Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
parent
7f60878be1
commit
75d9167230
|
@ -337,7 +337,7 @@ void MulticastStatisticsDialog::updateWidgets()
|
|||
}
|
||||
|
||||
param = burst_alarm_threshold_le_->text().toInt(&ok);
|
||||
if (!ok) {
|
||||
if (!ok || param < 1) {
|
||||
hint += tr("The burst alarm threshold isn't valid. ");
|
||||
enable_apply = false;
|
||||
burst_alarm_threshold_le_->setSyntaxState(SyntaxLineEdit::Invalid);
|
||||
|
|
Loading…
Reference in New Issue