projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e1b698
)
commit: Quiet clang-analyzer warning
author
Colin Walters
<walters@verbum.org>
Wed, 30 Aug 2023 13:23:13 +0000
(09:23 -0400)
committer
Colin Walters
<walters@verbum.org>
Wed, 30 Aug 2023 13:23:13 +0000
(09:23 -0400)
Another conditional ownership.
src/libostree/ostree-repo-commit.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-repo-commit.c
b/src/libostree/ostree-repo-commit.c
index fdc3bd0e7980bbbc297d43f473e6135bc822306e..c269142e727c6801a0aa846f6b7875b0c0165bc0 100644
(file)
--- a/
src/libostree/ostree-repo-commit.c
+++ b/
src/libostree/ostree-repo-commit.c
@@
-941,6
+941,8
@@
write_content_object (OstreeRepo *self, const char *expected_checksum, GInputStr
else
size = 0;
+ (void)file_input_owned; // Conditionally owned
+
/* Free space check; only applies during transactions */
if ((self->min_free_space_percent > 0 || self->min_free_space_mb > 0) && self->in_transaction)
{