Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
orbitcowboy committed Mar 23, 2024
1 parent 08ac4ec commit a5231f3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/cfg/wxwidgets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,16 @@ void unusedVariable_wxPenList()
wxPenList a;
}

void unusedVariable_wxPen(const wxPenInfo &penInfo, const wxColour &colour, int width, const wxPenStyle style, const wxPen &pen)
void unusedVariable_wxPen(const wxColour &colour, int width, const wxPenStyle style, const wxPen &pen)
{
// cppcheck-suppress unusedVariable
wxPen a;
// cppcheck-suppress unreadVariable
wxPen b(penInfo);
wxPen b(colour, width);
// cppcheck-suppress unreadVariable
wxPen c(colour, width);
wxPen c(colour, width, style);
// cppcheck-suppress unreadVariable
wxPen d(colour, width, style);
// cppcheck-suppress unreadVariable
wxPen f(pen);
wxPen d(pen);
}

void unusedVariable_wxBrush(const wxColour &color, const wxBrushStyle style, const wxBitmap &bmp, const wxBrush &brush)
Expand Down

0 comments on commit a5231f3

Please sign in to comment.