summaryrefslogtreecommitdiffstats
path: root/tools/test-process
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-03-02 04:43:26 +0800
committerGitHub <noreply@github.com>2024-03-01 12:43:26 -0800
commita4ba7d63e3035895b8081387b49a52b0fda53424 (patch)
treec21666eff58bc41aa93b61e30c58628044275142 /tools/test-process
parent0d01b3701aae582b5fe3b6e2c2c718bec568c741 (diff)
warnings (#3653)
* Remove unused code * unused variable warnings * unused variable --------- Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tools/test-process')
-rw-r--r--tools/test-process/test-process-main.cpp3
1 files changed, 0 insertions, 3 deletions
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<Byte> 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();