summaryrefslogtreecommitdiff
path: root/core/io
diff options
context:
space:
mode:
authorelasota <ejlasota@gmail.com>2018-09-13 19:10:35 -0400
committerelasota <ejlasota@gmail.com>2018-09-13 19:10:35 -0400
commit88c74aa017efdd6627bb69f5606f753af3db4164 (patch)
tree7074cab13a44dcf8300187a58b5f973e24e4e722 /core/io
parent06c8b5a4ffb0ab6787edf071463f17df522b3e79 (diff)
Fix FileAccessCompressed::get_8 returning 0 for the last byte of a file
Diffstat (limited to 'core/io')
-rw-r--r--core/io/file_access_compressed.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/io/file_access_compressed.cpp b/core/io/file_access_compressed.cpp
index 6290913503..645d97ae7e 100644
--- a/core/io/file_access_compressed.cpp
+++ b/core/io/file_access_compressed.cpp
@@ -293,7 +293,6 @@ uint8_t FileAccessCompressed::get_8() const {
} else {
read_block--;
at_end = true;
- ret = 0;
}
}