13
0

fix may-be-used-unset warning

This commit is contained in:
Paul Davis 2022-06-21 18:38:11 -06:00
parent 311e36b28f
commit 6fdd745dc5

View File

@ -926,6 +926,9 @@ Session::request_locate (samplepos_t target_sample, bool force, LocateTransportD
type = SessionEvent::Locate;
}
break;
default:
/* impossible, but gcc -O3 can't figure it out */
return;
}
SessionEvent *ev = new SessionEvent (type, SessionEvent::Add, SessionEvent::Immediate, target_sample, 0, force);