diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-03-02 04:43:26 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-01 12:43:26 -0800 |
| commit | a4ba7d63e3035895b8081387b49a52b0fda53424 (patch) | |
| tree | c21666eff58bc41aa93b61e30c58628044275142 /tools/test-process/test-process-main.cpp | |
| parent | 0d01b3701aae582b5fe3b6e2c2c718bec568c741 (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/test-process-main.cpp')
| -rw-r--r-- | tools/test-process/test-process-main.cpp | 3 |
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(); |
