fixed uninitialized variable (cppcheck)

This commit is contained in:
Simon Wenner 2015-05-03 01:45:55 +02:00
parent 524d9fad59
commit 2830f85b05

View file

@ -132,7 +132,7 @@ bool FileAccessMemory::eof_reached() const {
uint8_t FileAccessMemory::get_8() const {
uint8_t ret;
uint8_t ret = 0;
if (pos < length) {
ret = data[pos];
};