Skip to content

Commit d16effb

Browse files
committed
Fix unused-parameter
1 parent 39c00df commit d16effb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/show_gui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ void imageCallback(const tue_serialization::Binary::ConstPtr& msg)
1414
cv::waitKey(3);
1515
}
1616

17-
void mouseCallback(int event, int x, int y, int flags, void* ptr)
17+
void mouseCallback(int event, int x, int y, int /*flags*/, void* /*ptr*/)
1818
{
1919
if (event == cv::EVENT_LBUTTONDOWN)
2020
{

tools/view_model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void usage()
5050

5151
// ----------------------------------------------------------------------------------------------------
5252

53-
void CallBackFunc(int event, int x, int y, int flags, void* userdata)
53+
void CallBackFunc(int event, int x, int y, int flags, void* /*userdata*/)
5454
{
5555
if (event == cv::EVENT_LBUTTONDBLCLK)
5656
{

0 commit comments

Comments
 (0)