diff mbox

[libdrm,01/17] vbltest: fix variable shadowing warning

Message ID 1440434060-31347-1-git-send-email-emil.l.velikov@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Emil Velikov Aug. 24, 2015, 4:34 p.m. UTC
Just remove the second (shadowing) declaration of ret.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
---
 tests/vbltest/vbltest.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/tests/vbltest/vbltest.c b/tests/vbltest/vbltest.c
index 4200adb..e27f45c 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);