Fix a couple of compiler warnings that have cropped up.

This commit is contained in:
Glenn Rice
2013-07-10 15:07:57 -05:00
parent 1f6b70bf87
commit 8b65775ee1
2 changed files with 1 additions and 2 deletions

View File

@ -239,7 +239,6 @@ void GamepadPage::UpdateGUI()
std::vector<ControlButton*>::const_iterator i = (*g)->control_buttons.begin()
, e = (*g)->control_buttons.end();
for (; i!=e; ++i) {
ControllerInterface::ControlReference *r = (*i)->control_reference;
wxString expr = StrToWxStr((*i)->control_reference->expression);
expr.Replace("&", "&&");
(*i)->SetLabel(expr);