From be730b5824b0ea9af03152031552903d911a3f91 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 17 Nov 2017 02:29:47 +0000 Subject: added missing GError NULL initialization. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3576 ee746299-78ed-0310-b773-934348b2243d --- ChangeLog | 2 ++ libsylph/codeconv.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5ee8c5fc..1889c88e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ * src/compose.c: refactored UTF-16 support. * libsylph/codeconv.c: conv_copy_file(): supported UTF-16/UTF-16BE/UTF-16LE. + * libsylph/codeconv.c: conv_copy_file_with_gconvert(): added missing + GError NULL initialization. 2017-11-16 diff --git a/libsylph/codeconv.c b/libsylph/codeconv.c index ee386591..dac29f52 100644 --- a/libsylph/codeconv.c +++ b/libsylph/codeconv.c @@ -2572,7 +2572,7 @@ static gint conv_copy_file_with_gconvert(const gchar *src, const gchar *dest, gchar *src_s = NULL; gsize len = 0, dlen = 0; gchar *dest_s; - GError *error; + GError *error = NULL; g_return_val_if_fail(src != NULL, -1); g_return_val_if_fail(dest != NULL, -1); -- cgit v1.2.3