DescriptionFix some clang warnings with -Wmissing-braces in v8.
Clang warns if there are missing braces around a subobject
initializer. The most common idiom that triggers this is:
STRUCT s = {0};
if the first field of STRUCT is itself a struct. This can
be more simply written as:
STRUCT s = {};
which also prevents the warning from firing.
BUG=chromium:505297
LOG=n
Committed: https://crrev.com/76ea6ae7445713c683369ccf5fa1e9102dd9c6b8
Cr-Commit-Position: refs/heads/master@{#29437}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|