OSDN Git Service

Silence false positive warnings on GCC.
authorJosh Gao <jmgao@google.com>
Tue, 15 Mar 2016 01:15:15 +0000 (18:15 -0700)
committerJosh Gao <jmgao@google.com>
Tue, 15 Mar 2016 02:45:52 +0000 (19:45 -0700)
commitf6756b50b11e15876ee49e01a64110e39f7e6e76
treef65f57130c266290068a6c7899377416cdded293
parentc1f182894990ea76f3f3c0ab41cc104637532e71
Silence false positive warnings on GCC.

We still use GCC to build the bionic unit tests into CTS, and it emits a
false positive -Wmissing-field-initializers warning for the C++11 aggregate
initialization syntax `Foo foo = {}`.

Bug: http://b/27656293
Change-Id: I016d8dae6d6cd28afe4bc19250c2a8fba908f8e6
(cherry picked from commit d7878529b80295625df610bd32dadf11d507e8c0)
tests/signal_test.cpp