diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2016-11-27 20:00:49 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2016-11-28 01:57:49 +0100 |
commit | 5def9323e66c87d1c7fd210b518443cbde22de50 (patch) | |
tree | 775ada143f2954982c00fe340837f4d0bed01d97 /src/libtracker-sparql/tracker-resource.c | |
parent | 910ea1d01400b8ea63454bab21f5879151294931 (diff) | |
download | tracker-5def9323e66c87d1c7fd210b518443cbde22de50.tar.gz |
libtracker-sparql: Add some braces around statement
Multiline statements get braces around.
Diffstat (limited to 'src/libtracker-sparql/tracker-resource.c')
-rw-r--r-- | src/libtracker-sparql/tracker-resource.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libtracker-sparql/tracker-resource.c b/src/libtracker-sparql/tracker-resource.c index e76852ec5..0e94ad9fb 100644 --- a/src/libtracker-sparql/tracker-resource.c +++ b/src/libtracker-sparql/tracker-resource.c @@ -1146,7 +1146,7 @@ generate_turtle (TrackerResource *resource, g_string_append (data->string, " "); g_hash_table_iter_init (&iter, priv->properties); - if (g_hash_table_iter_next (&iter, (gpointer *)&property, (gpointer *)&value)) + if (g_hash_table_iter_next (&iter, (gpointer *)&property, (gpointer *)&value)) { while (TRUE) { generate_turtle_property (property, value, data->string, data->all_namespaces, data->our_namespaces); @@ -1159,6 +1159,7 @@ generate_turtle (TrackerResource *resource, break; } } + } } /** |