summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-08-15 15:12:36 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-09-04 21:36:42 +0100
commit687cc66d469c8ab4b8a044c01305653f92008215 (patch)
tree4ebcd55a58f323c533005277fbaa75dd3c0740f0
parent51b5ca9457a241e9f005359a99fdff1886fe5e72 (diff)
downloadlibdrm-687cc66d469c8ab4b8a044c01305653f92008215.tar.gz
libdrm-687cc66d469c8ab4b8a044c01305653f92008215.tar.bz2
libdrm-687cc66d469c8ab4b8a044c01305653f92008215.zip
vbltest: fix variable shadowing warning
Just remove the second (shadowing) declaration of ret. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r--tests/vbltest/vbltest.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/vbltest/vbltest.c b/tests/vbltest/vbltest.c
index 4200adbe..e27f45c1 100644
--- a/tests/vbltest/vbltest.c
+++ b/tests/vbltest/vbltest.c
@@ -177,7 +177,6 @@ int main(int argc, char **argv)
while (1) {
struct timeval timeout = { .tv_sec = 3, .tv_usec = 0 };
fd_set fds;
- int ret;
FD_ZERO(&fds);
FD_SET(0, &fds);