Commit 169636bd authored by loring's avatar loring
Browse files

fix a few compiler warnings


git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@27510 18c085ea-50e0-402c-830e-de6fd14e8384
parent 8fb4c263
......@@ -78,6 +78,9 @@ class vtkGlyphSource2D;
// Brad Whitlock, Fri Aug 27 10:54:33 PDT 2010
// I added GetPickDesignator.
//
// Burlen Loring, Thu Oct 8 10:36:25 PDT 2015
// fix a compliler warning
//
// ****************************************************************************
class PLOTTER_API avtPickActor
......@@ -96,7 +99,7 @@ class PLOTTER_API avtPickActor
const double * GetAttachmentPoint() { return attach; };
const double * GetLetterPosition(void);
void SetMode3D(const bool);
const bool GetMode3D(void) const { return mode3D; };
bool GetMode3D(void) const { return mode3D; };
void SetScale(double);
void SetDesignator(const std::string &l);
std::string GetDesignator() const;
......
......@@ -72,6 +72,9 @@ class VisWindowColleagueProxy;
// Eric Brugger, Tue Jan 20 11:33:46 PST 2009
// I removed SetGridVisibility since it doesn't make sense.
//
// Burlen Loring, Wed Oct 7 16:33:07 PDT 2015
// Fix a compiler warning
//
// ****************************************************************************
class VISWINDOW_API VisWinAxesArray : public VisWinColleague
......@@ -131,6 +134,7 @@ class VISWINDOW_API VisWinAxesArray : public VisWinColleague
AxisInfo(vtkVisItAxisActor2D *a, int lp, int lad, int p, int up)
: axis(a), lastPow(lp), lastAxisDigits(lad), pow(p)
{
(void)up;
xpos = 0;
units[0] = '\0';
title[0] = '\0';
......
......@@ -78,6 +78,9 @@ class vtkRenderWindow;
// Brad Whitlock, Wed Mar 13 16:08:08 PDT 2013
// Add RenderRenderWindow.
//
// Burlen Loring, Fri Oct 16 15:42:50 PDT 2015
// Fix a couple of compiler warnings
//
// ****************************************************************************
class VISWINDOW_API VisWinRenderingWithoutWindow : public VisWinRendering
......@@ -94,8 +97,8 @@ class VISWINDOW_API VisWinRenderingWithoutWindow : public VisWinRendering
virtual void Lower(void) {;};
virtual void ActivateWindow(void) {;};
virtual void SetResizeEvent(void(*callback)(void *), void *) {;};
virtual void SetCloseCallback(void(*callback)(void *), void *) {;};
virtual void SetResizeEvent(void(*)(void *), void *) {;};
virtual void SetCloseCallback(void(*)(void *), void *) {;};
virtual void SetImmediateModeRendering(bool immediateMode);
protected:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment