diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2012-08-30 14:17:01 -0700 |
---|---|---|
committer | Ben Widawsky <ben@bwidawsk.net> | 2012-08-30 14:20:52 -0700 |
commit | bc62567b77cd3a790e2e8e2d7fd81ce950bfbe3f (patch) | |
tree | e6b64d527f5eb6024ba9c374c8e1e9922a6ff7ac /demos | |
parent | 54ed938d393970584a9b2a8b0783b0c0901255db (diff) |
clang: Fix static analysis warnings from clang
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'demos')
-rw-r--r-- | demos/intel_sprite_on.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/intel_sprite_on.c b/demos/intel_sprite_on.c index c1d02245..abb6c136 100644 --- a/demos/intel_sprite_on.c +++ b/demos/intel_sprite_on.c @@ -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) |