return;
list_of_lightning::iterator iLightning;
// play 'thunder' for lightning
- if( snd_active )
+ if( snd_active ) {
if( !snd_playing ) {
// wait until sound has reached us
snd_timer += dt;
}
}
+ }
if( ! lightning_enable_state )
return;
}
_local_val.string_val = 0;
break;
+ default: // avoid compiler warning
+ break;
}
delete _value.val;
_value.val = 0;
break;
case props::NONE:
break;
+ default: // avoid compiler warning
+ break;
}
return stream;
}
case UNSPECIFIED:
return simgear::parseString<T>(make_string());
break;
+ default: // avoid compiler warning
+ break;
}
return SGRawValue<T>::DefaultValue();
}
case props::ALIAS:
case props::NONE:
return "unspecified";
+ default: // avoid compiler warning
+ break;
}
// keep the compiler from squawking