]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Use memset to initialize inline-allocated array with non-constant size b95a766454eb914f4eb5a68e9040e03faffabf52
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 18 Mar 2020 13:05:13 +0000 (14:05 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 18 Mar 2020 13:05:13 +0000 (14:05 +0100)
commitb95a766454eb914f4eb5a68e9040e03faffabf52
treef8f34ebf108a5b7f7c5b09ad9bcab0a2eaa9fe2e
parent5a97fa5a1b56e3a942f01d21efc203da25187d03
codegen: Use memset to initialize inline-allocated array with non-constant size

In addition to a0bb129e5a2e8580eb272d9a68ba054e7b170dba

Fixes https://gitlab.gnome.org/GNOME/vala/issues/910
codegen/valaccodebasemodule.vala
tests/arrays/fixed-length-init0-not-allowed.vala