diff options
author | Dave Airlie <airlied@redhat.com> | 2016-02-10 14:39:19 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-02-10 14:41:25 +1000 |
commit | f8b42ca393b70f974bfe0a7fcdd83f8e865169ce (patch) | |
tree | deb0eebc1267a2a2665ac248080d3ea0aa9de250 /vtest | |
parent | 94d697dca6122a6370a16cca2bd87a8c6656b54e (diff) |
vtest: fix shadowed variable usage.
Call the input a different name.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'vtest')
-rw-r--r-- | vtest/vtest_renderer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vtest/vtest_renderer.c b/vtest/vtest_renderer.c index 575f34e..91c6c35 100644 --- a/vtest/vtest_renderer.c +++ b/vtest/vtest_renderer.c @@ -39,9 +39,9 @@ static int ctx_id = 1; static int fence_id = 1; static int last_fence; -static void vtest_write_fence(void *cookie, uint32_t fence_id) +static void vtest_write_fence(void *cookie, uint32_t fence_id_in) { - last_fence = fence_id; + last_fence = fence_id_in; } struct virgl_renderer_callbacks vtest_cbs = { |