From: Colin Walters Date: Mon, 28 Aug 2023 21:28:59 +0000 (-0400) Subject: commit: Quiet clang-analyzer warning X-Git-Tag: archive/raspbian/2023.7-3+rpi1^2~16^2^2~38^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=369e4ddd934e2e702e594c5eb277052726ee4ac1;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 d709ce0c..fdc3bd0e 100644 --- a/src/libostree/ostree-repo-commit.c +++ b/src/libostree/ostree-repo-commit.c @@ -909,6 +909,8 @@ write_content_object (OstreeRepo *self, const char *expected_checksum, GInputStr else file_input = input; + (void)file_input_owned; // Conditionally owned + gboolean phys_object_is_symlink = FALSE; switch (object_file_type) {