fix may-be-used-unset warning
This commit is contained in:
parent
311e36b28f
commit
6fdd745dc5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user