projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b40d4b
)
commit: Quiet clang-analyzer warning
author
Colin Walters
<walters@verbum.org>
Sat, 26 Aug 2023 16:26:39 +0000
(12:26 -0400)
committer
Colin Walters
<walters@verbum.org>
Sat, 26 Aug 2023 16:26:39 +0000
(12:26 -0400)
This is just another instance of the "conditionally owned"
pattern.
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 92d09ad2d11756bb8e3f3aed829fd250d2f5a655..4563b0b7f98688750dfa99c7eb852f1596906a4c 100644
(file)
--- a/
src/libostree/ostree-repo-commit.c
+++ b/
src/libostree/ostree-repo-commit.c
@@
-1052,6
+1052,7
@@
write_content_object (OstreeRepo *self, const char *expected_checksum, GInputStr
actual_checksum, error))
return FALSE;
}
+ (void)actual_checksum_owned; // Just used to autofree
if (checksum_payload_input)
actual_payload_checksum = ot_checksum_instream_get_string (checksum_payload_input);