From: Colin Walters Date: Mon, 28 Aug 2023 21:27:04 +0000 (-0400) Subject: lib/commit: Quiet clang-analyzer warning X-Git-Tag: archive/raspbian/2023.7-3+rpi1^2~16^2^2~38^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bfb7482a2464d7cd9c267dcefed4485f71c4b1f7;p=ostree.git lib/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 4563b0b7..d709ce0c 100644 --- a/src/libostree/ostree-repo-commit.c +++ b/src/libostree/ostree-repo-commit.c @@ -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",