From bb6cc7c972d64d441216f8718ec59f30c233adaa Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 23 Feb 2015 14:02:44 +0000 Subject: tests: remove unused variables As kindly pointed out by GCC. Signed-off-by: Emil Velikov Reviewed-by: Jan Vesely --- tests/updatedraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/updatedraw.c') 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"); -- cgit v1.2.3