summaryrefslogtreecommitdiff
path: root/print_randr.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-05-06 21:43:59 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-05-06 21:44:37 -0700
commit50ef34933ba3e846605d52a96619323e12887959 (patch)
treebb1b0c722700eee128ca15df4764393af4d28bda /print_randr.c
parent0167af41624e8ef86b657d83ece09fe4e12fd6a2 (diff)
downloadxscope-50ef34933ba3e846605d52a96619323e12887959.tar.gz
Clear many compiler & sparse warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'print_randr.c')
-rw-r--r--print_randr.c12
1 files changed, 0 insertions, 12 deletions
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)