diff options
author | Paul Gilbert | 2019-07-25 18:45:29 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-07-25 18:45:39 -0700 |
commit | 65b8aa62a086a794937800188b00f19101a1298f (patch) | |
tree | 842e6eea37f031c8e49c1a95d7754d3e85802bea /engines/glk/magnetic | |
parent | 031c4f6221990f0cd84367731dd745730f0f0503 (diff) | |
download | scummvm-rg350-65b8aa62a086a794937800188b00f19101a1298f.tar.gz scummvm-rg350-65b8aa62a086a794937800188b00f19101a1298f.tar.bz2 scummvm-rg350-65b8aa62a086a794937800188b00f19101a1298f.zip |
GLK: Fix uninitialized variable warning
Diffstat (limited to 'engines/glk/magnetic')
-rw-r--r-- | engines/glk/magnetic/graphics.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/glk/magnetic/graphics.cpp b/engines/glk/magnetic/graphics.cpp index 5ba20531d3..d9c62a1b89 100644 --- a/engines/glk/magnetic/graphics.cpp +++ b/engines/glk/magnetic/graphics.cpp @@ -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"); |