[PATCH 3/3] record: warning fix

Adam Jackson ajax at redhat.com
Tue Mar 8 12:33:13 PST 2011


record.c:810:9: warning: unused variable 'count'

Scope-shadowed by a later variable of the same name, safe to just
delete.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 record/record.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/record/record.c b/record/record.c
index df3f9c6..53be182 100644
--- a/record/record.c
+++ b/record/record.c
@@ -807,7 +807,6 @@ RecordADeviceEvent(CallbackListPtr *pcbl, pointer nulldata, pointer calldata)
     RecordContextPtr pContext;
     RecordClientsAndProtocolPtr pRCAP;
     int eci; /* enabled context index */
-    int count;
 
     for (eci = 0; eci < numEnabledContexts; eci++)
     {
-- 
1.7.3.5



More information about the xorg-devel mailing list