From 50ef34933ba3e846605d52a96619323e12887959 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 6 May 2009 21:43:59 -0700 Subject: Clear many compiler & sparse warnings Signed-off-by: Alan Coopersmith --- print_randr.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'print_randr.c') diff --git a/print_randr.c b/print_randr.c index c74647b..f987ebc 100644 --- a/print_randr.c +++ b/print_randr.c @@ -42,10 +42,6 @@ RandrQueryVersion (FD fd, const unsigned char *buf) void RandrQueryVersionReply (FD fd, const unsigned char *buf) { - short n; - long m; - long k; - PrintField(RBf, 0, 1, REPLY, REPLYHEADER) /* RandrRequest reply */ ; PrintField(RBf, 1, 1, RANDRREPLY, RANDRREPLYHEADER) /* RandrQueryVersion reply */; if (Verbose < 1) @@ -73,13 +69,9 @@ RandrGetScreenInfo (FD fd, const unsigned char *buf) void RandrGetScreenInfoReply (FD fd, const unsigned char *buf) { - short n; - long m; - long k; unsigned short nsize; unsigned short nvg; unsigned short ngvg; - unsigned short i; PrintField(RBf, 0, 1, REPLY, REPLYHEADER) /* RandrRequest reply */ ; if (Verbose < 1) @@ -123,10 +115,6 @@ RandrSetScreenConfig (FD fd, const unsigned char *buf) void RandrSetScreenConfigReply (FD fd, const unsigned char *buf) { - short n; - long m; - long k; - PrintField(RBf, 0, 1, REPLY, REPLYHEADER) /* RandrRequest reply */ ; PrintField(buf, 1, 1, BOOL, "success") /* RandrQueryVersion reply */; if (Verbose < 1) -- cgit v1.2.1