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>
main
Emil Velikov 2015-02-23 14:02:44 +00:00
parent 4c6b1b1a82
commit bb6cc7c972
2 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -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");