]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Initialize internal temp-variables used as reference parameter 9cb2f01798d50b355bbd1da00fa4de5ca25f4e0e
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 1 Nov 2018 23:03:45 +0000 (00:03 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 2 Nov 2018 08:38:32 +0000 (09:38 +0100)
commit9cb2f01798d50b355bbd1da00fa4de5ca25f4e0e
tree6fa3f7df5817f1558979dbf89366671a15dd7285
parentccf0df0102410211b7b12efe1afc62562c63453e
codegen: Initialize internal temp-variables used as reference parameter

When casting Variant to multi-dimensional arrays the length fields are
used as out-parameters and needs to be initialized. They are not guaranteed
to be all set in _variant_get*() in this case.

Fixes tests with -Werror=maybe-uninitialized
codegen/valaccodebasemodule.vala