commit | 5ec65fde0a8d77e2c62699dba5e42399d66ad79d | [log] [tgz] |
---|---|---|
author | Olly Betts <olly@survex.com> | Mon Apr 19 17:39:03 2021 +1200 |
committer | Olly Betts <olly@survex.com> | Mon Apr 19 17:42:22 2021 +1200 |
tree | 1c6b267f808147fcdc7e3da1268bacdeb5b00957 | |
parent | 3912c572ffe3acec1c59c274a2fdfa4966bd047f [diff] |
Initialise _v to 0 in typecheck case This avoids using _v uninitialised if there's an empty typecheck typemap, such as the dummy one we have for std::initializer_list. Fixes GCC warning on cpp11_initializer_list testcase when compiled with -O2.