From: Colin Walters Date: Wed, 30 Aug 2023 13:23:13 +0000 (-0400) Subject: commit: Quiet clang-analyzer warning X-Git-Tag: archive/raspbian/2023.7-3+rpi1^2~16^2^2~34^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4eb3caca6962f9a9eb657292a2baef39a8fc71c3;p=ostree.git commit: Quiet clang-analyzer warning Another conditional ownership. --- diff --git a/src/libostree/ostree-repo-commit.c b/src/libostree/ostree-repo-commit.c index fdc3bd0e..c269142e 100644 --- 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) {