From 9af8c16b6b774aed73bc4aa3e77c710c91c832ab Mon Sep 17 00:00:00 2001 From: Sebastian Holtermann Date: Wed, 30 Oct 2024 13:41:38 +0100 Subject: [PATCH] 2dlib: Fix unused variable compiler warning in pen.cpp This removes some unused variables in 2dlib/pen.cpp. --- 2dlib/pen.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/2dlib/pen.cpp b/2dlib/pen.cpp index 2e019f87..c9261d30 100644 --- a/2dlib/pen.cpp +++ b/2dlib/pen.cpp @@ -129,18 +129,9 @@ void grViewport::hline(ddgr_color col, int x1, int x2, int y1) { rend_DrawLine(x1, y1, x2, y1); } -// grViewport::line -// draws a clipped line - void grViewport::line(ddgr_color color, int x1, int y1, int x2, int y2) { - int xa, ya, xb, yb; ASSERT(vp_Locked); - xa = global_x(x1); - ya = global_y(y1); - xb = global_x(x2); - yb = global_y(y2); - rend_SetFlatColor(color); rend_DrawLine(x1, y1, x2, y2); }