From: curt Date: Thu, 14 Jun 2001 22:02:38 +0000 (+0000) Subject: Cleaned up various warning messages. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=60553b64d16f913c930dfa5e3f6f180184b59f05;p=flightgear.git Cleaned up various warning messages. --- diff --git a/src/GUI/gui.cxx b/src/GUI/gui.cxx index ae8dd1abe..de332ea95 100644 --- a/src/GUI/gui.cxx +++ b/src/GUI/gui.cxx @@ -189,7 +189,7 @@ static puInput *SaveDialogInput = 0; static puOneShot *SaveDialogOkButton = 0; static puOneShot *SaveDialogCancelButton = 0; -static puOneShot *SaveDialogResetButton = 0; +// static puOneShot *SaveDialogResetButton = 0; // Default save filename static char saveFile[256] = "fgfs.sav"; @@ -254,7 +254,7 @@ static puInput *LoadDialogInput = 0; static puOneShot *LoadDialogOkButton = 0; static puOneShot *LoadDialogCancelButton = 0; -static puOneShot *LoadDialogResetButton = 0; +// static puOneShot *LoadDialogResetButton = 0; // Default load filename static char loadFile[256] = "fgfs.sav"; diff --git a/src/GUI/sgVec3Slider.cxx b/src/GUI/sgVec3Slider.cxx index 15118dafb..0a7b6d475 100644 --- a/src/GUI/sgVec3Slider.cxx +++ b/src/GUI/sgVec3Slider.cxx @@ -138,8 +138,8 @@ sgVec3Slider::sgVec3Slider ( int x, int y, sgVec3 vec, const char *title, const char *Ztitle ) : puDialogBox ( x, y ) { - int DialogX = x; - int DialogY = y; + // int DialogX = x; + // int DialogY = y; int fudge = 20; static const int DialogWidth = 230 + fudge; @@ -151,8 +151,8 @@ sgVec3Slider::sgVec3Slider ( int x, int y, sgVec3 vec, const char *title, static const int slider_x = 10+fudge; int slider_y = 55; static const int slider_width = 210; - static const int slider_title_x = 15; - static const int slider_value_x = 160; + // static const int slider_title_x = 15; + // static const int slider_value_x = 160; puFont LegendFont, LabelFont; puGetDefaultFonts ( &LegendFont, &LabelFont );