13
0

satisfy some pedantic compilers, #6748

This commit is contained in:
Robin Gareus 2016-01-26 15:14:55 +01:00
parent bfbf260eaf
commit d1c35636f0

View File

@ -962,6 +962,12 @@ static Gtkmm2ext::ActiveState next_state (Gtkmm2ext::ActiveState s){
break;
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){
@ -977,6 +983,12 @@ static Gtkmm2ext::ActiveState prev_state (Gtkmm2ext::ActiveState s){
break;
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