aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2017-11-17 02:29:47 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2017-11-17 02:29:47 +0000
commitbe730b5824b0ea9af03152031552903d911a3f91 (patch)
tree5e2998351e216bd01533da45506622b9d890ab6c
parentcba5db3899a97a827649f0071ecc1382a931c099 (diff)
added missing GError NULL initialization.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3576 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog2
-rw-r--r--libsylph/codeconv.c2
2 files changed, 3 insertions, 1 deletions
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);