diff --git a/cfg/wxwidgets.cfg b/cfg/wxwidgets.cfg index 67e0dda50..e561a6709 100644 --- a/cfg/wxwidgets.cfg +++ b/cfg/wxwidgets.cfg @@ -13679,8 +13679,8 @@ wxItemKind kind = wxITEM_NORMAL) --> - - + + diff --git a/test/cfg/wxwidgets.cpp b/test/cfg/wxwidgets.cpp index 229ce5384..7180950ea 100644 --- a/test/cfg/wxwidgets.cpp +++ b/test/cfg/wxwidgets.cpp @@ -22,12 +22,27 @@ #include #include #include +#include #include #include #include #include #include +void uninitvar_wxRegEx_GetMatch(wxRegEx &obj, size_t *start, size_t *len, size_t index) +{ + size_t s,l; + size_t *sPtr,*lPtr; + // cppcheck-suppress uninitvar + (void)obj.GetMatch(&s,lPtr); + // TODO cppcheck-suppress uninitvar + (void)obj.GetMatch(sPtr,&l); + (void)obj.GetMatch(&s,&l); + (void)obj.GetMatch(start,len); + (void)obj.GetMatch(start,len,0); + (void)obj.GetMatch(start,len,index); +} + #ifdef __VISUALC__ // Ensure no duplicateBreak warning is issued after wxLogApiError() calls. // This function does not terminate execution.