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

src/libostree/ostree-repo-commit.c

index 4563b0b7f98688750dfa99c7eb852f1596906a4c..d709ce0c52b225064a55991f5c0ff290da3437c0 100644 (file)
@@ -454,6 +454,7 @@ throw_min_free_space_error (OstreeRepo *self, guint64 bytes_required, GError **e
     }
   else
     err_msg = "would be exceeded";
+  (void)err_msg_owned; // Conditional ownership
 
   if (self->min_free_space_mb > 0)
     return glnx_throw (error, "min-free-space-size %" G_GUINT64_FORMAT "MB %s",