diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2012-08-30 14:03:54 -0700 |
---|---|---|
committer | Ben Widawsky <ben@bwidawsk.net> | 2012-08-30 14:19:10 -0700 |
commit | 54ed938d393970584a9b2a8b0783b0c0901255db (patch) | |
tree | 558706eb1f75f6bb79d02c4703e57f089012fbb2 /tests/gem_bad_length.c | |
parent | ac23daaa51c88eba3e120afeaff9e491a2d61168 (diff) |
clang: Fix warnings found through clang.
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'tests/gem_bad_length.c')
-rw-r--r-- | tests/gem_bad_length.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/gem_bad_length.c b/tests/gem_bad_length.c index 41f44d7f..0f2268f2 100644 --- a/tests/gem_bad_length.c +++ b/tests/gem_bad_length.c @@ -64,10 +64,12 @@ static uint32_t do_gem_create(int fd, int size, int *retval) return create.handle; } +#if 0 static int gem_exec(int fd, struct drm_i915_gem_execbuffer2 *execbuf) { return drmIoctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, execbuf); } +#endif static void create0(int fd) { @@ -77,6 +79,7 @@ static void create0(int fd) assert(retval == EINVAL); } +#if 0 static void exec0(int fd) { struct drm_i915_gem_execbuffer2 execbuf; @@ -115,6 +118,7 @@ static void exec0(int fd) gem_close(fd, exec[0].handle); } +#endif int main(int argc, char **argv) { |