test: Fixup for the previous patch

Oops, failed to git add.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2014-04-25 17:57:22 +02:00
parent 1b55886c4b
commit e36c896a71
2 changed files with 2 additions and 2 deletions

View File

@ -649,7 +649,7 @@ skip:
bool gem_has_enable_ring(int fd,int param) bool gem_has_enable_ring(int fd,int param)
{ {
drm_i915_getparam_t gp; drm_i915_getparam_t gp;
int ret, tmp; int tmp;
memset(&gp, 0, sizeof(gp)); memset(&gp, 0, sizeof(gp));
gp.value = &tmp; gp.value = &tmp;

View File

@ -1044,7 +1044,7 @@ static int test_unmap_cycles(int fd, int expected)
unsigned int total_ram; unsigned int total_ram;
uint64_t aperture_size; uint64_t aperture_size;
int fd, count, size = 0, ret; int fd, count;
int main(int argc, char **argv) int main(int argc, char **argv)