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/XrrOutput.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/XrrOutput.c')
-rw-r--r-- | src/XrrOutput.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/XrrOutput.c b/src/XrrOutput.c index 9545cbe..0c39a31 100644 --- a/src/XrrOutput.c +++ b/src/XrrOutput.c @@ -42,11 +42,9 @@ XRRGetOutputInfo (Display *dpy, XRRScreenResources *resources, RROutput output) xRRGetOutputInfoReply rep; xRRGetOutputInfoReq *req; int nbytes, nbytesRead, rbytes; - int i; - xRRQueryVersionReq *vreq; XRROutputInfo *xoi; - RRCheckExtension (dpy, info, 0); + RRCheckExtension (dpy, info, NULL); LockDisplay (dpy); GetReq (RRGetOutputInfo, req); @@ -142,7 +140,6 @@ XRRSetOutputPrimary(Display *dpy, Window window, RROutput output) { XExtDisplayInfo *info = XRRFindDisplay(dpy); xRRSetOutputPrimaryReq *req; - int i; int major_version, minor_version; RRSimpleCheckExtension (dpy, info); @@ -168,7 +165,6 @@ XRRGetOutputPrimary(Display *dpy, Window window) XExtDisplayInfo *info = XRRFindDisplay(dpy); xRRGetOutputPrimaryReq *req; xRRGetOutputPrimaryReply rep; - int i; int major_version, minor_version; RRCheckExtension (dpy, info, 0); |