commit | c99ae19a2ad61000b65224724370278f2df41a7c | [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 | e09e8b490fd49b4268ee2c6e01b1da6f582f8f37 | |
parent | c950e0df7e0c730c3db7f51a0a5c472ee1c2772f [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>