From fd53b0a1bd5bd41c7222b52591e52a3eed3d464c Mon Sep 17 00:00:00 2001 From: Nic Barker <contact+github@nicbarker.com> Date: Sat, 30 Nov 2024 20:47:34 +1300 Subject: [PATCH] unused variable --- clay.h | 1 - 1 file changed, 1 deletion(-) diff --git a/clay.h b/clay.h index 5e3879e..726b0ab 100644 --- a/clay.h +++ b/clay.h @@ -2239,7 +2239,6 @@ void Clay__CalculateFinalLayout() { textElementData->wrappedLines.length++; continue; } - int32_t previousWordIndex = -1; int32_t wordIndex = measureTextCacheItem->measuredWordsStartIndex; while (wordIndex != -1) { Clay__MeasuredWord *measuredWord = Clay__MeasuredWordArray_Get(&Clay__measuredWords, wordIndex);