From 8a2b0bd6e9138d33509c4d391a7f89b6d3915e8f Mon Sep 17 00:00:00 2001 From: baldurk Date: Sat, 9 Apr 2016 13:30:45 +0200 Subject: [PATCH] Match upstream change to fix this warning, made a few days ago --- renderdoc/3rdparty/tinyexr/tinyexr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renderdoc/3rdparty/tinyexr/tinyexr.h b/renderdoc/3rdparty/tinyexr/tinyexr.h index 09c1a068f..d0a8fd7e4 100644 --- a/renderdoc/3rdparty/tinyexr/tinyexr.h +++ b/renderdoc/3rdparty/tinyexr/tinyexr.h @@ -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; ; 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; ; j = hlink[j]) { scode[j]++; assert(scode[j] <= 58);