mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Remove true from 'infinite' for loops, to fix warning C4127 const expr
This commit is contained in:
Vendored
+2
-2
@@ -7761,7 +7761,7 @@ void hufBuildEncTable(
|
||||
// Add a bit to all codes in the first list.
|
||||
//
|
||||
|
||||
for (int j = m; true; j = hlink[j]) {
|
||||
for (int j = m; /*true*/; j = hlink[j]) {
|
||||
scode[j]++;
|
||||
|
||||
assert(scode[j] <= 58);
|
||||
@@ -7780,7 +7780,7 @@ void hufBuildEncTable(
|
||||
// Add a bit to all codes in the second list
|
||||
//
|
||||
|
||||
for (int j = mm; true; j = hlink[j]) {
|
||||
for (int j = mm; /*true*/; j = hlink[j]) {
|
||||
scode[j]++;
|
||||
|
||||
assert(scode[j] <= 58);
|
||||
|
||||
Reference in New Issue
Block a user