You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
fixed uninitialized variable (cppcheck)
This commit is contained in:
@@ -132,7 +132,7 @@ bool FileAccessMemory::eof_reached() const {
|
|||||||
|
|
||||||
uint8_t FileAccessMemory::get_8() const {
|
uint8_t FileAccessMemory::get_8() const {
|
||||||
|
|
||||||
uint8_t ret;
|
uint8_t ret = 0;
|
||||||
if (pos < length) {
|
if (pos < length) {
|
||||||
ret = data[pos];
|
ret = data[pos];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user