diff options
| author | Rémi Verschelde | 2018-05-01 19:14:07 +0200 |
|---|---|---|
| committer | GitHub | 2018-05-01 19:14:07 +0200 |
| commit | de97339a2d66cc9e3bd9ab77dd4e0c5c6534a869 (patch) | |
| tree | 90a5f1949ce557c33e5f97147d4021c96500dadd /modules/pvr/texture_loader_pvr.cpp | |
| parent | c9abe88110abdc51bf520cd9af95e59374f7c0cc (diff) | |
| parent | bf7ca623a65f25cc4ac7a3ca0d6635331ec07c25 (diff) | |
| download | godot-de97339a2d66cc9e3bd9ab77dd4e0c5c6534a869.tar.gz godot-de97339a2d66cc9e3bd9ab77dd4e0c5c6534a869.tar.zst godot-de97339a2d66cc9e3bd9ab77dd4e0c5c6534a869.zip | |
Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-var
Fix Coverity reports of uninitialized scalar variable
Diffstat (limited to 'modules/pvr/texture_loader_pvr.cpp')
| -rw-r--r-- | modules/pvr/texture_loader_pvr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pvr/texture_loader_pvr.cpp b/modules/pvr/texture_loader_pvr.cpp index 76c0b969d..8174bccdb 100644 --- a/modules/pvr/texture_loader_pvr.cpp +++ b/modules/pvr/texture_loader_pvr.cpp @@ -536,8 +536,8 @@ static void decompress_pvrtc(PVRTCBlock *p_comp_img, const int p_2bit, const int int p_x, p_y; - int p_modulation[8][16]; - int p_modulation_modes[8][16]; + int p_modulation[8][16] = { { 0 } }; + int p_modulation_modes[8][16] = { { 0 } }; int Mod, DoPT; |
