fixed uninitialized variable (cppcheck)
This commit is contained in:
parent
524d9fad59
commit
2830f85b05
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue