From c41d0cb09bf336c37fb1173826b1a01a51bca45a Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 20 May 2023 11:55:58 +0200 Subject: [PATCH] u02: Fix warnings by -Wextra The only warnings still existing are for the unimplemented tool. --- u02/src/sweep_line_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/u02/src/sweep_line_tool.cpp b/u02/src/sweep_line_tool.cpp index f132275..f098ad1 100644 --- a/u02/src/sweep_line_tool.cpp +++ b/u02/src/sweep_line_tool.cpp @@ -41,7 +41,7 @@ void sweep_line_tool::draw_interval(int b1, int b2, int y) { void sweep_line_tool::draw() { draw(10, 10, 90, 30, 30, 90); } -void sweep_line_tool::draw(int _x, int _y) { draw(); } +void sweep_line_tool::draw(int, int) { draw(); } void sweep_line_tool::draw(int x0, int y0, int x1, int y1, int x2, int y2) { /*