Skip to content

Commit 7f1d74e

Browse files
committed
render: fix shadow warnings
Signed-off-by: Yaakov Selkowitz <[email protected]> Reviewed-by: Peter Hutterer <[email protected]>
1 parent 8e86123 commit 7f1d74e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

render/picturestr.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -363,10 +363,10 @@ extern _X_EXPORT RESTYPE GlyphSetType;
363363
#define SetPictureWindow(w,p) dixSetPrivate(&(w)->devPrivates, PictureWindowPrivateKey, p)
364364

365365
#define VERIFY_PICTURE(pPicture, pid, client, mode) {\
366-
int rc = dixLookupResourceByType((pointer)&(pPicture), pid,\
367-
PictureType, client, mode);\
368-
if (rc != Success)\
369-
return rc;\
366+
int tmprc = dixLookupResourceByType((pointer)&(pPicture), pid,\
367+
PictureType, client, mode);\
368+
if (tmprc != Success)\
369+
return tmprc;\
370370
}
371371

372372
#define VERIFY_ALPHA(pPicture, pid, client, mode) {\

0 commit comments

Comments
 (0)