commit | e46eea0b5bdef28f5c42e4d7764b030679479354 | [log] [tgz] |
---|---|---|
author | Greg Hackmann <ghackmann@google.com> | Fri May 09 15:34:54 2014 -0700 |
committer | Greg Hackmann <ghackmann@google.com> | Fri May 09 15:53:18 2014 -0700 |
tree | 95eef42c55feb46c01aeeec2c595717c64ea5717 | |
parent | 7076e4647af737393baf020c13e81a090f4a9f26 [diff] |
gralloc: don't initialize reserved_proc gcc supports designated initializers in C++ mode as an extension, but *only* when all of the specified fields are at the beginning of the struct. Hence initializing reserved_proc breaks compilation when new procs are added. Initializing reserved_proc makes a (spurious) warning go away, so instead directly suppress that warning. Change-Id: I279b7070b1aa7068c23fb59422589ff31980432d Signed-off-by: Greg Hackmann <ghackmann@google.com>