1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-23 15:16:17 +00:00

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];
};