projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83a1e15
)
Silence unitialized variable warning
author
José Fonseca
<jfonseca@vmware.com>
Tue, 14 Dec 2010 14:13:53 +0000
(14:13 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 14 Dec 2010 14:13:53 +0000
(14:13 +0000)
glretrace.py
patch
|
blob
|
history
diff --git
a/glretrace.py
b/glretrace.py
index
9d6b1fd
..
3c4a956
100644
(file)
--- a/
glretrace.py
+++ b/
glretrace.py
@@
-235,7
+235,7
@@
static void frame_complete(void) {
snprintf(filename, sizeof filename, "%s%04u.png", __snapshot_prefix, __frame);
- Image::Image *ref;
+ Image::Image *ref
= NULL
;
if (__mode == MODE_COMPARE) {
ref = Image::readPNG(filename);
if (!ref) {