summaryrefslogtreecommitdiff
path: root/tests/updatedraw.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/updatedraw.c
parent4c6b1b1a825a01cb64451306bbebd61927442bb0 (diff)
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/updatedraw.c')
-rw-r--r--tests/updatedraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/updatedraw.c b/tests/updatedraw.c
index 8e0b94b6..d01fa96d 100644
--- a/tests/updatedraw.c
+++ b/tests/updatedraw.c
@@ -122,7 +122,7 @@ static int rm_drawable(int fd, int drawable, int fail)
*/
int main(int argc, char **argv)
{
- int fd, ret, d1, d2;
+ int fd, d1, d2;
if (getuid() != 0) {
fprintf(stderr, "updatedraw test requires root, skipping\n");