X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d0089653228874c88553e9494d8077b27ea6cd3..8f4d9fcd9a1133442aa733e978231b01956e641b:/src/msw/crashrpt.cpp diff --git a/src/msw/crashrpt.cpp b/src/msw/crashrpt.cpp index 8831a96f32..7762c9848a 100644 --- a/src/msw/crashrpt.cpp +++ b/src/msw/crashrpt.cpp @@ -1089,7 +1089,13 @@ wxString wxCrashReportImpl::GetExceptionString(DWORD dwCode) #endif // wxUSE_DBGHELP -bool wxCrashReportImpl::Generate(int flags) +bool wxCrashReportImpl::Generate( +#if wxUSE_DBGHELP + int flags +#else + int WXUNUSED(flags) +#endif +) { if ( m_hFile == INVALID_HANDLE_VALUE ) return false;