libostree: Fix bracket-missing warnings
Apparently I got the bracketing wrong in
862e6ecdcc:
src/libostree/ostree-repo.c: In function 'ostree_repo_delete_object':
src/libostree/ostree-repo.c:3538:11: warning: missing braces around
initializer [-Wmissing-braces]
g_auto(GVariantBuilder) builder = {0,};
Closes: #298
Approved by: cgwalters
This commit is contained in:
1 parent
d451b87fbe
commit
cb45456708
2 files changed
+6
-6
No files matched your search
@@ -1253,7 +1253,7 @@ ostree_repo_static_delta_generate (OstreeRepo *self,
|
||||
guint min_fallback_size;
|
||||
guint max_bsdiff_size;
|
||||
guint max_chunk_size;
|
||||
g_auto(GVariantBuilder) metadata_builder = {0,};
|
||||
g_auto(GVariantBuilder) metadata_builder = {{0,}};
|
||||
DeltaOpts delta_opts = DELTAOPT_FLAG_NONE;
|
||||
guint64 total_compressed_size = 0;
|
||||
guint64 total_uncompressed_size = 0;
|
||||
@@ -1384,8 +1384,8 @@ ostree_repo_static_delta_generate (OstreeRepo *self,
|
||||
g_autoptr(GVariant) delta_part_content = NULL;
|
||||
g_autoptr(GVariant) delta_part = NULL;
|
||||
g_autoptr(GVariant) delta_part_header = NULL;
|
||||
g_auto(GVariantBuilder) mode_builder = {0,};
|
||||
g_auto(GVariantBuilder) xattr_builder = {0,};
|
||||
g_auto(GVariantBuilder) mode_builder = {{0,}};
|
||||
g_auto(GVariantBuilder) xattr_builder = {{0,}};
|
||||
guint8 compression_type_char;
|
||||
|
||||
g_variant_builder_init (&mode_builder, G_VARIANT_TYPE ("a(uuu)"));
|
||||
|
||||
Reference in new issue
Block a user