From e2779a7cf71587e02d0c70c064e013b498418774 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 26 Aug 2023 12:26:39 -0400 Subject: [PATCH] commit: Quiet clang-analyzer warning This is just another instance of the "conditionally owned" pattern. --- src/libostree/ostree-repo-commit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libostree/ostree-repo-commit.c b/src/libostree/ostree-repo-commit.c index 92d09ad2..4563b0b7 100644 --- 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); -- 2.30.2