Skip to content

Commit

Permalink
GLK: Fix uninitialized variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jul 26, 2019
1 parent 031c4f6 commit 65b8aa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engines/glk/magnetic/graphics.cpp
Expand Up @@ -302,6 +302,7 @@ int16 Magnetic::find_name_in_header(const Common::String &name, bool upper) {

void Magnetic::extract_frame(const picture *pic) {
uint32 i, x, y, bit_x, mask, ywb, yw, value, values[4];
values[0] = values[1] = values[2] = values[3] = 0;

if (pic->width * pic->height > MAX_PICTURE_SIZE) {
error("picture too large");
Expand Down

0 comments on commit 65b8aa6

Please sign in to comment.