summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLim Siew Hoon <siew.hoon.lim@intel.com>2016-06-22 19:45:58 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2016-08-22 13:04:29 +0800
commitd7a9b6aae98433ea4f4f66eb78e3d134e837e57d (patch)
treecc6498a39d1875f4f9bcbdbee2ecc227abc90e73
parent6bd7c18da171f098fcf1afff3deb102186084e74 (diff)
downloadlibva-d7a9b6aae98433ea4f4f66eb78e3d134e837e57d.tar.gz
Remove unused 'trace_index' in va_TraceInit
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de> (cherry picked from commit 98ee039437488047529746956f9d4505f86fa74f)
-rw-r--r--va/va_trace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/va/va_trace.c b/va/va_trace.c
index 46eb223..a215c3d 100644
--- a/va/va_trace.c
+++ b/va/va_trace.c
@@ -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);