astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2018-11-23 06:47:27 +01:00
parent 428d0147bc
commit c181d28b1a
1 changed files with 13 additions and 13 deletions

View File

@ -82,22 +82,22 @@ void nullPointer(const wxString &str)
void nullPointer_wxSizer_Add(wxSizer &sizer, wxWindow *w)
{
wxWindow * const ptr = 0;
// cppcheck-suppress nullPointer
sizer.Add(ptr);
// No warning shall be issued for
sizer.Add(w);
wxWindow * const ptr = 0;
// cppcheck-suppress nullPointer
sizer.Add(ptr);
// No warning shall be issued for
sizer.Add(w);
}
void uninitvar_wxSizer_Add(wxSizer &sizer, wxWindow *w,wxObject* userData )
void uninitvar_wxSizer_Add(wxSizer &sizer, wxWindow *w,wxObject* userData)
{
int uninit;
// cppcheck-suppress uninitvar
sizer.Add(w,uninit);
// cppcheck-suppress uninitvar
sizer.Add(w,4,uninit);
// cppcheck-suppress uninitvar
sizer.Add(w,4,2,uninit,userData);
int uninit;
// cppcheck-suppress uninitvar
sizer.Add(w,uninit);
// cppcheck-suppress uninitvar
sizer.Add(w,4,uninit);
// cppcheck-suppress uninitvar
sizer.Add(w,4,2,uninit,userData);
}
void ignoredReturnValue(const wxString &s)