mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 12:52:55 +00:00
clang: Fix static analysis warnings from clang
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
@@ -842,6 +842,7 @@ static void ricochet(
|
||||
set.flags = I915_SET_COLORKEY_NONE;
|
||||
ret = drmCommandWrite(gfx_fd, DRM_I915_SET_SPRITE_COLORKEY, &set,
|
||||
sizeof(set));
|
||||
assert(ret == 0);
|
||||
|
||||
// Set up sprite output dimensions, initial position, etc.
|
||||
if (out_w > prim_width / 2)
|
||||
|
||||
Reference in New Issue
Block a user