You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Fix use of unitialized variables
The second in my quest to make Godot 3.x compile with -Werror on GCC7
This commit is contained in:
@@ -1256,9 +1256,9 @@ void Image::create(const char **p_xpm) {
|
||||
|
||||
if (*line_ptr == '#') {
|
||||
line_ptr++;
|
||||
uint8_t col_r;
|
||||
uint8_t col_g;
|
||||
uint8_t col_b;
|
||||
uint8_t col_r = 0;
|
||||
uint8_t col_g = 0;
|
||||
uint8_t col_b = 0;
|
||||
//uint8_t col_a=255;
|
||||
|
||||
for (int i = 0; i < 6; i++) {
|
||||
|
||||
Reference in New Issue
Block a user