chore: Fix some compiler warnings. (#6578)
This commit is contained in:
parent
a1d265325a
commit
b45c7188c7
3 changed files with 12 additions and 11 deletions
|
@ -110,7 +110,8 @@ std::tuple<unsigned, unsigned> EmuWindow::ClipToTouchScreen(unsigned new_x, unsi
|
|||
}
|
||||
|
||||
void EmuWindow::CreateTouchState() {
|
||||
if (touch_state = global_touch_state.lock()) {
|
||||
touch_state = global_touch_state.lock();
|
||||
if (touch_state) {
|
||||
return;
|
||||
}
|
||||
touch_state = std::make_shared<TouchState>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue