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
parent
4c6b1b1a82
commit
bb6cc7c972
|
@ -40,8 +40,7 @@
|
||||||
*/
|
*/
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
int fd, ret;
|
int fd;
|
||||||
drm_set_version_t sv, version;
|
|
||||||
const char *name = "/dev/dri/card0";
|
const char *name = "/dev/dri/card0";
|
||||||
char *v;
|
char *v;
|
||||||
|
|
||||||
|
|
|
@ -122,7 +122,7 @@ static int rm_drawable(int fd, int drawable, int fail)
|
||||||
*/
|
*/
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
int fd, ret, d1, d2;
|
int fd, d1, d2;
|
||||||
|
|
||||||
if (getuid() != 0) {
|
if (getuid() != 0) {
|
||||||
fprintf(stderr, "updatedraw test requires root, skipping\n");
|
fprintf(stderr, "updatedraw test requires root, skipping\n");
|
||||||
|
|
Loading…
Reference in New Issue