1
0
Fork 0

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:
James Turner 2017-03-05 21:41:52 +02:00
parent e5a48b7c80
commit 41f875a729

View file

@ -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