summaryrefslogtreecommitdiffstats
path: root/libs/Compress
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-03-29 17:42:33 -0600
committerGitHub <noreply@github.com>2020-03-29 17:42:33 -0600
commitb516f4a95c1c3d43390951186db045b15d7737dd (patch)
treeaac84d817f6fc4a80bfd5bae06eff2952d1bae30 /libs/Compress
parentefb30c33910ded2db5a0f3db2269ec96b5788725 (diff)
downloadbcm5719-ortega-b516f4a95c1c3d43390951186db045b15d7737dd.tar.gz
bcm5719-ortega-b516f4a95c1c3d43390951186db045b15d7737dd.zip
build: Enable building with llvm 10.0.0 (#65)
Diffstat (limited to 'libs/Compress')
-rw-r--r--libs/Compress/compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/Compress/compress.c b/libs/Compress/compress.c
index 1cb63ff..5142498 100644
--- a/libs/Compress/compress.c
+++ b/libs/Compress/compress.c
@@ -247,7 +247,7 @@ int32_t compress(uint8_t *outBuffer, int32_t outBytes, const uint8_t *inBuffer,
// Read F bytes into the last F bytes of the buffer.
for (len = 0; len < F && inBuffer < inEnd; ++len)
{
- st.dict[r + len] = c = *inBuffer++;
+ st.dict[r + len] = *inBuffer++;
}
// Insert the F strings, each of which begins with one or more 'space'
OpenPOWER on IntegriCloud