diff options
author | Jan Vesely | 2014-11-30 11:53:18 -0600 |
---|---|---|
committer | Jan Vesely | 2015-02-10 14:25:28 -0600 |
commit | de8532dd8359dfdaba839ff61fc9e2f05eaf57d3 (patch) | |
tree | 1e360fd714028ed930971921f2db23533e2bf46f /tests/vbltest/vbltest.c | |
parent | 6ce06202ddcb979db47b67a508db96ed049f0768 (diff) | |
download | external-libgbm-de8532dd8359dfdaba839ff61fc9e2f05eaf57d3.tar.gz external-libgbm-de8532dd8359dfdaba839ff61fc9e2f05eaf57d3.tar.xz external-libgbm-de8532dd8359dfdaba839ff61fc9e2f05eaf57d3.zip |
Fix gcc -Wextra warnings
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Ian Romanick <idr@freedesktop.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'tests/vbltest/vbltest.c')
-rw-r--r-- | tests/vbltest/vbltest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/vbltest/vbltest.c b/tests/vbltest/vbltest.c index cdc1ef6b..6e13c57c 100644 --- a/tests/vbltest/vbltest.c +++ b/tests/vbltest/vbltest.c | |||
@@ -104,7 +104,8 @@ static void usage(char *name) | |||
104 | 104 | ||
105 | int main(int argc, char **argv) | 105 | int main(int argc, char **argv) |
106 | { | 106 | { |
107 | int i, c, fd, ret; | 107 | unsigned i; |
108 | int c, fd, ret; | ||
108 | char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx", "exynos", "omapdrm", "tilcdc", "msm", "tegra" }; | 109 | char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx", "exynos", "omapdrm", "tilcdc", "msm", "tegra" }; |
109 | drmVBlank vbl; | 110 | drmVBlank vbl; |
110 | drmEventContext evctx; | 111 | drmEventContext evctx; |