projects
/
platform
/
upstream
/
libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e90fc3d
)
vatrace: Initialize the local variable 'i'
author
Xiang, Haihao
<haihao.xiang@intel.com>
Mon, 12 Aug 2013 06:28:01 +0000
(14:28 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Mon, 17 Mar 2014 01:36:10 +0000
(09:36 +0800)
Otherwise the variable is used without being initialized.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit
f5a6a2867b88b36936bf721682b674e2979065d3
)
va/va_trace.c
patch
|
blob
|
history
diff --git
a/va/va_trace.c
b/va/va_trace.c
index
ed4a30d
..
f50bd84
100644
(file)
--- a/
va/va_trace.c
+++ b/
va/va_trace.c
@@
-310,7
+310,7
@@
void va_TraceCodedBuf(VADisplay dpy)
{
VACodedBufferSegment *buf_list = NULL;
VAStatus va_status;
- int i;
+ int i
= 0
;
DPY2TRACECTX(dpy);