summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2012-10-16 02:06:54 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2012-11-05 13:25:04 -0600
commit7f1d74e8a906210eafc637df81ded62c3adff748 (patch)
tree092159c924c3286a9a674089be3d781e878434ca /render
parent8e86123998d26d26f0f60dcbb9836c38e5a4c3a5 (diff)
render: fix shadow warnings
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'render')
-rw-r--r--render/picturestr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/render/picturestr.h b/render/picturestr.h
index dc00f41ff..5644f28cf 100644
--- a/render/picturestr.h
+++ b/render/picturestr.h
@@ -363,10 +363,10 @@ extern _X_EXPORT RESTYPE GlyphSetType;
#define SetPictureWindow(w,p) dixSetPrivate(&(w)->devPrivates, PictureWindowPrivateKey, p)
#define VERIFY_PICTURE(pPicture, pid, client, mode) {\
- int rc = dixLookupResourceByType((pointer)&(pPicture), pid,\
- PictureType, client, mode);\
- if (rc != Success)\
- return rc;\
+ int tmprc = dixLookupResourceByType((pointer)&(pPicture), pid,\
+ PictureType, client, mode);\
+ if (tmprc != Success)\
+ return tmprc;\
}
#define VERIFY_ALPHA(pPicture, pid, client, mode) {\