diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | libsylph/codeconv.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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); |