[PATCH 2/2] Xext: remove unused variable 'n'

Peter Hutterer peter.hutterer at who-t.net
Tue Nov 8 21:34:38 PST 2011


xselinux_ext.c: In function 'SELinuxSendItemsToClient':
xselinux_ext.c:340:16: warning: unused variable 'n' [-Wunused-variable]

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 Xext/xselinux_ext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Xext/xselinux_ext.c b/Xext/xselinux_ext.c
index 641368a..a18a367 100644
--- a/Xext/xselinux_ext.c
+++ b/Xext/xselinux_ext.c
@@ -337,7 +337,7 @@ static int
 SELinuxSendItemsToClient(ClientPtr client, SELinuxListItemRec *items,
 			 int size, int count)
 {
-    int rc, k, n, pos = 0;
+    int rc, k, pos = 0;
     SELinuxListItemsReply rep;
     CARD32 *buf;
 
-- 
1.7.7



More information about the xorg-devel mailing list