DescriptionFix some clang warnings with -Wmissing-braces in WebRTC.
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.
Other instances of the warning have been fixed by adding
braces where appropriate.
BUG=505297
TBR=jiayl@webrtc.org
Committed: https://crrev.com/a771bf8ee84f293c166d3e377d852e9705c12725
Cr-Commit-Position: refs/heads/master@{#9529}
Patch Set 1 #Patch Set 2 : rebase? #Patch Set 3 : Fix paths, maybe #
Messages
Total messages: 30 (14 generated)
|