diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-29 15:41:23 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-29 15:41:23 -0200 |
commit | 0a48e5c663bf2ec3f6870bf9e9cfa90dfddd6fe6 (patch) | |
tree | 0628ce1bf4b8d8a3174838d82a05800987588756 /src/Xdamage.c | |
parent | 0ca7d78aeb8035ef52c1415170e1257493d789fd (diff) |
Janitor: Correct make distcheck and compiler warnings.
Diffstat (limited to 'src/Xdamage.c')
-rw-r--r-- | src/Xdamage.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Xdamage.c b/src/Xdamage.c index a3966d6..174bb09 100644 --- a/src/Xdamage.c +++ b/src/Xdamage.c @@ -89,7 +89,7 @@ XDamageExtAddDisplay (XDamageExtInfo *extinfo, UnlockDisplay (dpy); SyncHandle (); Xfree(info); - return 0; + return NULL; } info->major_version = rep.majorVersion; info->minor_version = rep.minorVersion; @@ -372,7 +372,6 @@ XDamageAdd (Display *dpy, Drawable drawable, XserverRegion region) { XDamageExtDisplayInfo *info = XDamageFindDisplay (dpy); xDamageAddReq *req; - int len; XDamageSimpleCheckExtension (dpy, info); LockDisplay (dpy); |