Silence a warning about log levels.
These levels will never be set on the output side, so handle them as default here.
This commit is contained in:
parent
e5a48b7c80
commit
41f875a729
1 changed files with 5 additions and 0 deletions
|
@ -188,6 +188,11 @@ FGJSBsim::FGJSBsim( double dt )
|
||||||
case SG_POPUP:
|
case SG_POPUP:
|
||||||
FGJSBBase::debug_lvl = 0x00;
|
FGJSBBase::debug_lvl = 0x00;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
// silence warning about unhandled cases
|
||||||
|
FGJSBBase::debug_lvl = 0x00;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// if flight is excluded, don't bother
|
// if flight is excluded, don't bother
|
||||||
|
|
Loading…
Reference in a new issue