From: Colin Walters Date: Sat, 26 Aug 2023 16:26:39 +0000 (-0400) Subject: pull: Quiet clang-analyzer warning X-Git-Tag: archive/raspbian/2023.7-3+rpi1^2~16^2^2~39^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0beaf5c9acf54fe7b4052159b85ee74b0eb2d4eb;p=ostree.git pull: Quiet clang-analyzer warning Just used for side-effects. --- 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);