GFile: fix uninitialised variable

clang cause the fact that some of our 'goto out;' cases cause use to try
and free an uninitialised GString.  Fix that up.
This commit is contained in:
Ryan Lortie 2014-01-02 12:54:12 -05:00
parent 51b3dd7332
commit c09cfc1c8a

View File

@ -2633,7 +2633,7 @@ build_attribute_list_for_copy (GFile *file,
{
gboolean ret = FALSE;
GFileAttributeInfoList *attributes = NULL, *namespaces = NULL;
GString *s;
GString *s = NULL;
gboolean first;
int i;
gboolean copy_all_attributes;