From: Simon Tatham Date: Wed, 3 Jan 2007 09:51:42 +0000 (+0000) Subject: Phil Bordelon's patch yesterday should have initialised the GError X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=14ed4e9b1ec29fce49e68d08955fdcec9909e6cf;p=sgt-puzzles.git Phil Bordelon's patch yesterday should have initialised the GError to NULL. [originally from svn r7052] --- diff --git a/gtk.c b/gtk.c index 075a49f..b662501 100644 --- a/gtk.c +++ b/gtk.c @@ -2097,7 +2097,7 @@ int main(int argc, char **argv) if (screenshot_file) { GdkPixbuf *pb; - GError* gerror; + GError *gerror = NULL; midend_redraw(fe->me);