From: Włodzimierz Skiba Date: Thu, 28 Oct 2004 11:43:53 +0000 (+0000) Subject: Warning fixes. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ce403057df34ac55bd0a50d47725420dc51e5e92 Warning fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/imagpng.cpp b/src/common/imagpng.cpp index deac2bc1c9..54c3ac8819 100644 --- a/src/common/imagpng.cpp +++ b/src/common/imagpng.cpp @@ -175,7 +175,7 @@ void PNGLINKAGEMODE wx_PNG_stream_writer( png_structp png_ptr, png_bytep data, // from pngerror.c // so that the libpng doesn't send anything on stderr void -PNGLINKAGEMODE wx_png_error(png_structp png_ptr, png_const_charp message) +PNGLINKAGEMODE wx_png_error(png_structp WXUNUSED(png_ptr), png_const_charp message) { wxLogFatalError( wxString::FromAscii(message) ); } diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index e1f655959f..e0a3bbf3a5 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -171,8 +171,12 @@ bool wxNativePrintFactory::HasPrintSetupDialog() wxDialog *wxNativePrintFactory::CreatePrintSetupDialog( wxWindow *parent, wxPrintData *data ) { #if defined(__WXMSW__) && !defined(__WXUNIVERSAL__) + wxUnusedVar(parent); + wxUnusedVar(data); return NULL; #elif defined(__WXMAC__) + wxUnusedVar(parent); + wxUnusedVar(data); return NULL; #else // Only here do we need to provide the print setup