unused variable

This commit is contained in:
Nic Barker 2024-11-30 20:47:34 +13:00
parent 57e1c3b23f
commit fd53b0a1bd

1
clay.h
View File

@ -2239,7 +2239,6 @@ void Clay__CalculateFinalLayout() {
textElementData->wrappedLines.length++; textElementData->wrappedLines.length++;
continue; continue;
} }
int32_t previousWordIndex = -1;
int32_t wordIndex = measureTextCacheItem->measuredWordsStartIndex; int32_t wordIndex = measureTextCacheItem->measuredWordsStartIndex;
while (wordIndex != -1) { while (wordIndex != -1) {
Clay__MeasuredWord *measuredWord = Clay__MeasuredWordArray_Get(&Clay__measuredWords, wordIndex); Clay__MeasuredWord *measuredWord = Clay__MeasuredWordArray_Get(&Clay__measuredWords, wordIndex);