From f75b7b72012de7b8d2f11a6861d07db892dd4424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Sun, 23 Sep 2018 18:03:59 +0200 Subject: [PATCH] Remove unused vars --- raycastlib.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/raycastlib.h b/raycastlib.h index 12ab46f..1e525f2 100644 --- a/raycastlib.h +++ b/raycastlib.h @@ -1127,8 +1127,6 @@ void _RCL_columnFunctionComplex(RCL_HitResult *hits, uint16_t hitCount, uint16_t p.texCoords.x = 0; p.texCoords.y = 0; - RCL_Unit i; - // we'll be simulatenously drawing the floor and the ceiling now for (RCL_Unit j = 0; j <= hitCount; ++j) { // ^ = add extra iteration for horizon plane @@ -1275,7 +1273,6 @@ void _RCL_columnFunctionSimple(RCL_HitResult *hits, uint16_t hitCount, uint16_t RCL_Unit y = 0; RCL_Unit wallHeightScreen = 0; RCL_Unit wallStart = _RCL_middleRow; - RCL_Unit wallEnd = _RCL_middleRow; RCL_Unit heightOffset = 0; RCL_Unit dist = 1;