diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-30 16:38:03 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-30 16:38:03 -0200 |
commit | bf284b043d4c5688da2207647126b095f8c2b0cd (patch) | |
tree | fd46a96bc9f5143470adb96dd185ecee327934bf /src/XrrProperty.c | |
parent | a0c45b798d2fa810167d64a92093840178f993b1 (diff) |
Janitor: make distcheck, compiler warnings, .gitignore
Warning corrections are either unused symbols or using an
integer as a pointer (generated by sparse).
Diffstat (limited to 'src/XrrProperty.c')
-rw-r--r-- | src/XrrProperty.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/XrrProperty.c b/src/XrrProperty.c index d3d3246..9554f9a 100644 --- a/src/XrrProperty.c +++ b/src/XrrProperty.c @@ -38,12 +38,10 @@ XRRListOutputProperties (Display *dpy, RROutput output, int *nprop) XExtDisplayInfo *info = XRRFindDisplay(dpy); xRRListOutputPropertiesReply rep; xRRListOutputPropertiesReq *req; - int nbytes, nbytesRead, rbytes; - int i; - xRRQueryVersionReq *vreq; + int nbytes, rbytes; Atom *props = NULL; - RRCheckExtension (dpy, info, 0); + RRCheckExtension (dpy, info, NULL); LockDisplay (dpy); GetReq (RRListOutputProperties, req); @@ -87,11 +85,9 @@ XRRQueryOutputProperty (Display *dpy, RROutput output, Atom property) xRRQueryOutputPropertyReply rep; xRRQueryOutputPropertyReq *req; int rbytes, nbytes; - int i; - xRRQueryVersionReq *vreq; XRRPropertyInfo *prop_info; - RRCheckExtension (dpy, info, 0); + RRCheckExtension (dpy, info, NULL); LockDisplay (dpy); GetReq (RRQueryOutputProperty, req); @@ -140,7 +136,6 @@ XRRConfigureOutputProperty (Display *dpy, RROutput output, Atom property, { XExtDisplayInfo *info = XRRFindDisplay(dpy); xRRConfigureOutputPropertyReq *req; - xRRQueryVersionReq *vreq; long len; RRSimpleCheckExtension (dpy, info); @@ -173,7 +168,6 @@ XRRChangeOutputProperty (Display *dpy, RROutput output, { XExtDisplayInfo *info = XRRFindDisplay(dpy); xRRChangeOutputPropertyReq *req; - xRRQueryVersionReq *vreq; long len; RRSimpleCheckExtension (dpy, info); @@ -258,9 +252,7 @@ XRRGetOutputProperty (Display *dpy, RROutput output, XExtDisplayInfo *info = XRRFindDisplay(dpy); xRRGetOutputPropertyReply rep; xRRGetOutputPropertyReq *req; - long nbytes, rbytes, nbytesRead; - int i; - xRRQueryVersionReq *vreq; + long nbytes, rbytes; RRCheckExtension (dpy, info, 1); |