lib/commit: Quiet clang-analyzer warning

Another conditional ownership.
This commit is contained in:
Colin Walters 2023-08-28 17:27:04 -04:00
parent ee8c13b160
commit bfb7482a24

View 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",