From e36c896a71660b09fd4f96ef5342009cd5908b80 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Fri, 25 Apr 2014 17:57:22 +0200 Subject: [PATCH] test: Fixup for the previous patch Oops, failed to git add. Signed-off-by: Daniel Vetter --- lib/ioctl_wrappers.c | 2 +- tests/gem_userptr_blits.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c index 1e5b77e..507a1aa 100644 --- a/lib/ioctl_wrappers.c +++ b/lib/ioctl_wrappers.c @@ -649,7 +649,7 @@ skip: bool gem_has_enable_ring(int fd,int param) { drm_i915_getparam_t gp; - int ret, tmp; + int tmp; memset(&gp, 0, sizeof(gp)); gp.value = &tmp; diff --git a/tests/gem_userptr_blits.c b/tests/gem_userptr_blits.c index cec8c8f..cc4af15 100644 --- a/tests/gem_userptr_blits.c +++ b/tests/gem_userptr_blits.c @@ -1044,7 +1044,7 @@ static int test_unmap_cycles(int fd, int expected) unsigned int total_ram; uint64_t aperture_size; -int fd, count, size = 0, ret; +int fd, count; int main(int argc, char **argv) -- 2.7.4