corrected warnings when compiling with -Wall -W

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2002-05-03 19:49:20 +00:00
parent bb10b31d43
commit 1b0674f799
4 changed files with 5 additions and 3 deletions

View File

@@ -457,7 +457,7 @@ const char *dlerror()
return dl_last_error;
}
void *dlopen(const char *path, int mode /* mode is ignored */)
void *dlopen(const char *path, int WXUNUSED(mode) /* mode is ignored */)
{
int dyld_result;
NSObjectFileImage ofile;
@@ -484,7 +484,7 @@ int dlclose(void *handle)
return 0;
}
void *dlsym(void *handle, const char *symbol)
void *dlsym(void *WXUNUSED(handle), const char *symbol)
{
void *addr;

View File

@@ -131,6 +131,7 @@ wxImage::wxImage( wxInputStream& stream, const wxString& mimetype, int index )
#endif // wxUSE_STREAMS
wxImage::wxImage( const wxImage& image )
: wxObject()
{
Ref(image);
}

View File

@@ -39,6 +39,7 @@ wxTransformMatrix::wxTransformMatrix(void)
}
wxTransformMatrix::wxTransformMatrix(const wxTransformMatrix& mat)
: wxObject()
{
(*this) = mat;
}

View File

@@ -501,7 +501,7 @@ wxSize wxSizer::GetMaxClientSize( wxWindow *window )
return wxDefaultSize;
}
wxSize wxSizer::GetMinClientSize( wxWindow *window )
wxSize wxSizer::GetMinClientSize( wxWindow *WXUNUSED(window) )
{
return GetMinSize(); // Already returns client size.
}