summaryrefslogtreecommitdiff
path: root/tests/name_from_fd.c
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-02-23 14:02:44 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-02-27 15:51:28 +0000
commitbb6cc7c972d64d441216f8718ec59f30c233adaa (patch)
tree81c91e7a8ee8c89e13138a7bb62005b7fb4922ba /tests/name_from_fd.c
parent4c6b1b1a825a01cb64451306bbebd61927442bb0 (diff)
downloadlibdrm-bb6cc7c972d64d441216f8718ec59f30c233adaa.tar.gz
libdrm-bb6cc7c972d64d441216f8718ec59f30c233adaa.tar.bz2
libdrm-bb6cc7c972d64d441216f8718ec59f30c233adaa.zip
tests: remove unused variables
As kindly pointed out by GCC. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Diffstat (limited to 'tests/name_from_fd.c')
-rw-r--r--tests/name_from_fd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/name_from_fd.c b/tests/name_from_fd.c
index e3db413a..24af6e64 100644
--- a/tests/name_from_fd.c
+++ b/tests/name_from_fd.c
@@ -40,8 +40,7 @@
*/
int main(int argc, char **argv)
{
- int fd, ret;
- drm_set_version_t sv, version;
+ int fd;
const char *name = "/dev/dri/card0";
char *v;