commit: Quiet clang-analyzer warning
authorColin Walters <walters@verbum.org>
Mon, 28 Aug 2023 21:28:59 +0000 (17:28 -0400)
committerColin Walters <walters@verbum.org>
Mon, 28 Aug 2023 21:28:59 +0000 (17:28 -0400)
Another conditional ownership.

src/libostree/ostree-repo-commit.c

index d709ce0c52b225064a55991f5c0ff290da3437c0..fdc3bd0e7980bbbc297d43f473e6135bc822306e 100644 (file)
@@ -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)
     {