From 0beaf5c9acf54fe7b4052159b85ee74b0eb2d4eb Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 26 Aug 2023 12:26:39 -0400 Subject: [PATCH] pull: Quiet clang-analyzer warning Just used for side-effects. --- src/libostree/ostree-repo-pull.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index 3e461e33..9ec97891 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -6340,6 +6340,7 @@ ostree_repo_remote_fetch_summary_with_options (OstreeRepo *self, const char *nam return FALSE; mainctx = _ostree_main_context_new_default (); + (void)mainctx; // Used for autocleanup fetcher = _ostree_repo_remote_new_fetcher (self, name, TRUE, extra_headers, append_user_agent, NULL, error); -- 2.30.2