aboutsummaryrefslogtreecommitdiff
path: root/modules/pvr/texture_loader_pvr.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2018-05-01 19:14:07 +0200
committerGitHub2018-05-01 19:14:07 +0200
commitde97339a2d66cc9e3bd9ab77dd4e0c5c6534a869 (patch)
tree90a5f1949ce557c33e5f97147d4021c96500dadd /modules/pvr/texture_loader_pvr.cpp
parentc9abe88110abdc51bf520cd9af95e59374f7c0cc (diff)
parentbf7ca623a65f25cc4ac7a3ca0d6635331ec07c25 (diff)
downloadgodot-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.cpp4
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;