aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov2015-08-15 09:12:36 -0500
committerEmil Velikov2015-09-04 15:36:42 -0500
commit687cc66d469c8ab4b8a044c01305653f92008215 (patch)
tree4ebcd55a58f323c533005277fbaa75dd3c0740f0 /tests/vbltest
parent51b5ca9457a241e9f005359a99fdff1886fe5e72 (diff)
downloadexternal-libgbm-687cc66d469c8ab4b8a044c01305653f92008215.tar.gz
external-libgbm-687cc66d469c8ab4b8a044c01305653f92008215.tar.xz
external-libgbm-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>
Diffstat (limited to 'tests/vbltest')
-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)
177 while (1) { 177 while (1) {
178 struct timeval timeout = { .tv_sec = 3, .tv_usec = 0 }; 178 struct timeval timeout = { .tv_sec = 3, .tv_usec = 0 };
179 fd_set fds; 179 fd_set fds;
180 int ret;
181 180
182 FD_ZERO(&fds); 181 FD_ZERO(&fds);
183 FD_SET(0, &fds); 182 FD_SET(0, &fds);