summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-03-31 14:16:23 +0200
committerGitHub <noreply@github.com>2020-03-31 14:16:23 +0200
commiteab934e86868977badcca198f70847632f90bf1b (patch)
treeb048a9ff7f3a7e51f245e5a731207b0615ee1414 /modules
parent047cdea7fa24e2e9e73a9f65064cfe97b820184c (diff)
parent0a2fa4d892ace40f65453cfe86710c4281230529 (diff)
Merge pull request #37463 from akien-mga/fix-Wmaybe-uninitialized-tools
Fix more -Wmaybe-uninitialized warnings with target=release_debug
Diffstat (limited to 'modules')
-rw-r--r--modules/basis_universal/register_types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/basis_universal/register_types.cpp b/modules/basis_universal/register_types.cpp
index 6b74b8bf4a..5784341d80 100644
--- a/modules/basis_universal/register_types.cpp
+++ b/modules/basis_universal/register_types.cpp
@@ -98,7 +98,7 @@ static Vector<uint8_t> basis_universal_packer(const Ref<Image> &p_image, Image::
params.m_mip_gen = false; //sorry, please some day support provided mipmaps.
params.m_source_images.push_back(buimg);
- BasisDecompressFormat decompress_format;
+ BasisDecompressFormat decompress_format = BASIS_DECOMPRESS_RG;
params.m_check_for_alpha = false;
switch (p_channels) {