Remove extraneous semicolons after wxDECL_FOR_STRICT_MINGW32().
This macro shouldn't be followed by a semicolon because it can be empty, so remove the extra semicolons to avoid -Wpedantic g++ warnings about it.
This commit is contained in:
@@ -73,9 +73,9 @@
|
||||
#include <xlocale.h>
|
||||
#endif
|
||||
|
||||
wxDECL_FOR_STRICT_MINGW32(int, vswprintf, (wchar_t*, const wchar_t*, __VALIST));
|
||||
wxDECL_FOR_STRICT_MINGW32(int, _putws, (const wchar_t*));
|
||||
wxDECL_FOR_STRICT_MINGW32(void, _wperror, (const wchar_t*));
|
||||
wxDECL_FOR_STRICT_MINGW32(int, vswprintf, (wchar_t*, const wchar_t*, __VALIST))
|
||||
wxDECL_FOR_STRICT_MINGW32(int, _putws, (const wchar_t*))
|
||||
wxDECL_FOR_STRICT_MINGW32(void, _wperror, (const wchar_t*))
|
||||
|
||||
WXDLLIMPEXP_BASE size_t wxMB2WC(wchar_t *buf, const char *psz, size_t n)
|
||||
{
|
||||
|
||||
@@ -100,6 +100,9 @@ wxDirData::wxDirData(const wxString& dirname)
|
||||
|
||||
// do open the dir
|
||||
m_dir = opendir(m_dirname.fn_str());
|
||||
|
||||
wxLogSysError(12, _("Cannot enumerate files in directory '%s'"),
|
||||
m_dirname.c_str());
|
||||
}
|
||||
|
||||
wxDirData::~wxDirData()
|
||||
|
||||
Reference in New Issue
Block a user