OSDN Git Service

Remove unused 'trace_index' in va_TraceInit
authorLim Siew Hoon <siew.hoon.lim@intel.com>
Wed, 22 Jun 2016 11:45:58 +0000 (19:45 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 22 Aug 2016 05:04:29 +0000 (13:04 +0800)
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
(cherry picked from commit 98ee039437488047529746956f9d4505f86fa74f)

va/va_trace.c

index 46eb223..a215c3d 100644 (file)
@@ -733,7 +733,6 @@ void va_TraceInit(VADisplay dpy)
 {
     char env_value[1024];
     unsigned short suffix = 0xffff & ((unsigned int)time(NULL));
-    int trace_index = 0;
     FILE *tmp;
     struct va_trace *pva_trace = calloc(sizeof(struct va_trace), 1);
     struct trace_context *trace_ctx = calloc(sizeof(struct trace_context), 1);