Fix spurious warning re uninitialized use

This commit is contained in:
Behdad Esfahbod 2018-10-29 23:31:42 -07:00
parent 1b7bfb5e18
commit 7e998d193a
1 changed files with 1 additions and 0 deletions

View File

@ -1110,6 +1110,7 @@ struct Coverage
{ {
inline Iter (const Coverage &c_) inline Iter (const Coverage &c_)
{ {
memset (this, 0, sizeof (*this));
format = c_.u.format; format = c_.u.format;
switch (format) switch (format)
{ {