Skip to content

Commit

Permalink
Quiet coverity warning about unused pointer in MythUISpinBox
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed Dec 17, 2012
1 parent 47ab650 commit a6229e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythtv/libs/libmythui/mythuispinbox.cpp
Expand Up @@ -115,8 +115,7 @@ void MythUISpinBox::AddSelection(int value, const QString &label)
}
}

item = new MythUIButtonListItem(this,
label.isEmpty() ? QString(value) : label,
new MythUIButtonListItem(this, label.isEmpty() ? QString(value) : label,
qVariantFromValue(value), insertPos);
}

Expand Down

0 comments on commit a6229e7

Please sign in to comment.