mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
satisfy some pedantic compilers, #6748
This commit is contained in:
parent
bfbf260eaf
commit
d1c35636f0
1 changed files with 12 additions and 0 deletions
|
|
@ -962,6 +962,12 @@ static Gtkmm2ext::ActiveState next_state (Gtkmm2ext::ActiveState s){
|
||||||
break;
|
break;
|
||||||
default: assert(0); break; // not reached
|
default: assert(0); break; // not reached
|
||||||
}
|
}
|
||||||
|
/* impossible, but keep some compiles happy */
|
||||||
|
fatal << string_compose (_("programming error: %1"),
|
||||||
|
X_("Illegal Active State."))
|
||||||
|
<< endmsg;
|
||||||
|
abort(); /*NOTREACHED*/
|
||||||
|
return Gtkmm2ext::Off;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Gtkmm2ext::ActiveState prev_state (Gtkmm2ext::ActiveState s){
|
static Gtkmm2ext::ActiveState prev_state (Gtkmm2ext::ActiveState s){
|
||||||
|
|
@ -977,6 +983,12 @@ static Gtkmm2ext::ActiveState prev_state (Gtkmm2ext::ActiveState s){
|
||||||
break;
|
break;
|
||||||
default: assert(0); break; // not reached
|
default: assert(0); break; // not reached
|
||||||
}
|
}
|
||||||
|
/* impossible, but keep some compiles happy */
|
||||||
|
fatal << string_compose (_("programming error: %1"),
|
||||||
|
X_("Illegal Active State."))
|
||||||
|
<< endmsg;
|
||||||
|
abort(); /*NOTREACHED*/
|
||||||
|
return Gtkmm2ext::Off;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue