diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-01-09 22:35:01 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2020-01-10 00:25:46 +0100 |
commit | 3c3e11cb02886d05694b72c29c3deca0e3170c71 (patch) | |
tree | 11381ad4bd0b00be3ac1655a2f604db23ccb0f55 /nx-X11/programs/Xserver/Xext/xvdisp.h | |
parent | fbfef7e62afa32f95c6d8e97aba6f13ab3493332 (diff) | |
download | nx-libs-3c3e11cb02886d05694b72c29c3deca0e3170c71.tar.gz nx-libs-3c3e11cb02886d05694b72c29c3deca0e3170c71.tar.bz2 nx-libs-3c3e11cb02886d05694b72c29c3deca0e3170c71.zip |
CheckForEmptyMask does not need to declare int n twice
commit 424dbde891486ad6a6c00c61a334031ff18f5556
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Dec 9 10:08:55 2011 -0800
CheckForEmptyMask does not need to declare int n twice
Just use the existing n variable again in the ARGB_CURSOR loop
instead of creating another one.
Fixes gcc -Wshadow warning:
cursor.c: In function 'CheckForEmptyMask':
cursor.c:155:6: warning: declaration of 'n' shadows a previous local
cursor.c:146:9: warning: shadowed declaration is here
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'nx-X11/programs/Xserver/Xext/xvdisp.h')
0 files changed, 0 insertions, 0 deletions