Fix unused variable warnings
This commit is contained in:
@@ -386,6 +386,9 @@ MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id,
|
|||||||
//
|
//
|
||||||
// my_png_from_mem = wxBitmap::NewFromPNGData(cursor_png, WXSIZEOF(cursor_png));
|
// my_png_from_mem = wxBitmap::NewFromPNGData(cursor_png, WXSIZEOF(cursor_png));
|
||||||
my_png_from_mem = wxBITMAP_PNG_FROM_DATA(cursor);
|
my_png_from_mem = wxBITMAP_PNG_FROM_DATA(cursor);
|
||||||
|
|
||||||
|
// prevent -Wunused-const-variable when compiler fails to detect its usage
|
||||||
|
wxUnusedVar(cursor_png);
|
||||||
}
|
}
|
||||||
|
|
||||||
MyCanvas::~MyCanvas()
|
MyCanvas::~MyCanvas()
|
||||||
|
|||||||
@@ -122,7 +122,6 @@ public:
|
|||||||
private:
|
private:
|
||||||
PokeAdviseClient *m_client;
|
PokeAdviseClient *m_client;
|
||||||
PokeAdviseConn *m_conn;
|
PokeAdviseConn *m_conn;
|
||||||
bool m_initDone;
|
|
||||||
|
|
||||||
wxDECLARE_NO_COPY_CLASS(PokeAdvisePersistentConnection);
|
wxDECLARE_NO_COPY_CLASS(PokeAdvisePersistentConnection);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user