From a4ba7d63e3035895b8081387b49a52b0fda53424 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Sat, 2 Mar 2024 04:43:26 +0800 Subject: warnings (#3653) * Remove unused code * unused variable warnings * unused variable --------- Co-authored-by: Yong He --- tools/test-process/test-process-main.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'tools/test-process') diff --git a/tools/test-process/test-process-main.cpp b/tools/test-process/test-process-main.cpp index e1ff3c8a7..9729c24b7 100644 --- a/tools/test-process/test-process-main.cpp +++ b/tools/test-process/test-process-main.cpp @@ -80,7 +80,6 @@ static SlangResult _outputReflect() List buffer; - Index lineCount = 0; Index startIndex = 0; while (true) @@ -106,8 +105,6 @@ static SlangResult _outputReflect() // Write the text to the output stream fwrite(line.begin(), 1, line.getLength(), fileOut); fputc('\n', fileOut); - - lineCount++; // Move the start index forward const Index newStartIndex = slice.begin() ? Index(slice.begin() - (const char*)buffer.getBuffer()) : buffer.getCount(); -- cgit v1.2.3