diff --git a/src/msw/crashrpt.cpp b/src/msw/crashrpt.cpp index 8831a96f32..26a9abb711 100644 --- a/src/msw/crashrpt.cpp +++ b/src/msw/crashrpt.cpp @@ -1089,7 +1089,7 @@ wxString wxCrashReportImpl::GetExceptionString(DWORD dwCode) #endif // wxUSE_DBGHELP -bool wxCrashReportImpl::Generate(int flags) +bool wxCrashReportImpl::Generate(int WXUNUSED(flags)) { if ( m_hFile == INVALID_HANDLE_VALUE ) return false;