projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51b5ca9
)
vbltest: fix variable shadowing warning
author
Emil Velikov
<emil.l.velikov@gmail.com>
Sat, 15 Aug 2015 14:12:36 +0000
(15:12 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 4 Sep 2015 20:36:42 +0000
(21:36 +0100)
Just remove the second (shadowing) declaration of ret.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
tests/vbltest/vbltest.c
patch
|
blob
|
history
diff --git
a/tests/vbltest/vbltest.c
b/tests/vbltest/vbltest.c
index
4200adb
..
e27f45c
100644
(file)
--- 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);