commit | b34c0752a9fefb132583197552793a7395b9d3ef | [log] [tgz] |
---|---|---|
author | Paul Wankadia <junyer@google.com> | Mon Jun 20 16:50:11 2016 +1000 |
committer | Paul Wankadia <junyer@google.com> | Mon Jun 20 06:59:47 2016 +0000 |
tree | 6ce8d380a60d79459e0ec1f6068f6c7d65c2a6f6 | |
parent | b246293a2ce5dbaf744185e0c58cabd235a473c1 [diff] |
Use flexible array members. They are supported by GCC, Clang and MSVC and using them is better than using arrays of size 1, which actually constitutes undefined behaviour! Change-Id: I8041d71ffcf7ee6481c000a81a26c0083b726b90 Reviewed-on: https://code-review.googlesource.com/4981 Reviewed-by: Paul Wankadia <junyer@google.com>