charsets: fix compilation with -Werror=maybe-uninitialized

This commit is contained in:
Aleksander Morgado
2012-02-22 08:26:21 +01:00
parent 38b7e6e129
commit e992d5cbd1

View File

@@ -808,7 +808,7 @@ gchar *
mm_utf8_take_and_convert_to_charset (gchar *str,
MMModemCharset charset)
{
gchar *encoded;
gchar *encoded = NULL;
if (!str)
return NULL;