diff options
author | Simon Ser <simon.ser@intel.com> | 2019-03-21 09:37:45 +0200 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2019-04-16 13:28:05 +0300 |
commit | 504343f541a4680e9d6b591951a89eb885143a97 (patch) | |
tree | b122d10cbfbea3db7a794a8572664beab84b399f /tools/intel_dp_compliance.c | |
parent | d5ee5c6b4f978e1345df8a462af4843909661974 (diff) |
tests/kms_vrr: fix compilation with Clang
Clang fails to compile this file with this error:
../tests/kms_vrr.c:203:20: error: suggest braces around
initialization of subobject [-Werror,-Wmissing-braces]
drmVBlank vbl = { 0 };
^
{}
As discussed in [1], using an empty initializer list is the preferred
way to fix this.
[1]: https://lists.freedesktop.org/archives/igt-dev/2019-March/010841.html
Signed-off-by: Simon Ser <simon.ser@intel.com>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'tools/intel_dp_compliance.c')
0 files changed, 0 insertions, 0 deletions