diff options
author | George Burgess IV <gbiv@google.com> | 2020-05-18 16:05:31 -0700 |
---|---|---|
committer | Arian <arian.kulmer@web.de> | 2021-11-30 18:32:18 +0100 |
commit | f7194a6e8aa13f40712840d62d6dd428b50fb4a3 (patch) | |
tree | bc2d99b2eec0ac5f15901a5b51fdc6fb1512530b /sdm/libs/hwc2/hwc_buffer_allocator.cpp | |
parent | cde427936347d1aaf5970af06d6f5593067b6764 (diff) |
fix -Wunreachable-code-loop-increment
`glGetError()` may return more than one error, yet these loops never
iterated more than once. This CL fixes that, and cleans up some useless
casting.
Same fix as Ib2d3a6a95726fa954426a3644635dcf41fb571db.
Bug: 150166387
Test: TreeHugger
Change-Id: Ie569d385bb67fe2fdf2003577614e6b35ed9f17c
Diffstat (limited to 'sdm/libs/hwc2/hwc_buffer_allocator.cpp')
0 files changed, 0 insertions, 0 deletions