Cleaned up various warning messages.
This commit is contained in:
parent
81eb6d345d
commit
d839e84f99
4 changed files with 20 additions and 16 deletions
|
@ -314,20 +314,20 @@ static struct {
|
|||
const char * name;
|
||||
SGCommandMgr::command_t command;
|
||||
} built_ins [] = {
|
||||
"null", do_null,
|
||||
"exit", do_exit,
|
||||
"load", do_load,
|
||||
"save", do_save,
|
||||
"panel-load", do_panel_load,
|
||||
"preferences-load", do_preferences_load,
|
||||
"view-cycle", do_view_cycle,
|
||||
"screen-capture", do_screen_capture,
|
||||
"property-toggle", do_property_toggle,
|
||||
"property-assign", do_property_assign,
|
||||
"property-adjust", do_property_adjust,
|
||||
"property-swap", do_property_swap,
|
||||
"property-scale", do_property_scale,
|
||||
0, 0 // zero-terminated
|
||||
{ "null", do_null },
|
||||
{ "exit", do_exit },
|
||||
{ "load", do_load },
|
||||
{ "save", do_save },
|
||||
{ "panel-load", do_panel_load },
|
||||
{ "preferences-load", do_preferences_load },
|
||||
{ "view-cycle", do_view_cycle },
|
||||
{ "screen-capture", do_screen_capture },
|
||||
{ "property-toggle", do_property_toggle },
|
||||
{ "property-assign", do_property_assign },
|
||||
{ "property-adjust", do_property_adjust },
|
||||
{ "property-swap", do_property_swap },
|
||||
{ "property-scale", do_property_scale },
|
||||
{ 0, 0 } // zero-terminated
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -39,9 +39,9 @@ FGGlobals::FGGlobals() :
|
|||
freeze( false ),
|
||||
warp( 0 ),
|
||||
warp_delta( 0 ),
|
||||
commands(new SGCommandMgr),
|
||||
props(new SGPropertyNode),
|
||||
initial_state(0)
|
||||
initial_state(0),
|
||||
commands(new SGCommandMgr)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -88,6 +88,7 @@ void fgMakeLookAtMat4 ( sgMat4 dst, const sgVec3 eye, const sgVec3 center,
|
|||
}
|
||||
|
||||
|
||||
#if 0
|
||||
// convert sgMat4 to MAT3 and print
|
||||
static void print_sgMat4( sgMat4 &in) {
|
||||
int i, j;
|
||||
|
@ -98,6 +99,7 @@ static void print_sgMat4( sgMat4 &in) {
|
|||
cout << endl;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
// Update the view parameters
|
||||
|
|
|
@ -139,6 +139,7 @@ inline static void fgMakeLOCAL( sgMat4 dst, const double Theta,
|
|||
#endif
|
||||
|
||||
|
||||
#if 0
|
||||
// convert sgMat4 to MAT3 and print
|
||||
static void print_sgMat4( sgMat4 &in) {
|
||||
int i, j;
|
||||
|
@ -149,6 +150,7 @@ static void print_sgMat4( sgMat4 &in) {
|
|||
cout << endl;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
// Update the view parameters
|
||||
|
|
Loading…
Reference in a new issue