From 5780c44c630c98a15e8ef4451bf02069bed69528 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Tue, 14 Dec 2010 14:13:53 +0000 Subject: [PATCH] Silence unitialized variable warning --- glretrace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glretrace.py b/glretrace.py index 9d6b1fd..3c4a956 100644 --- 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) { -- 2.7.4