repo: Quiet clang-analyzer warning
authorColin Walters <walters@verbum.org>
Mon, 28 Aug 2023 21:29:57 +0000 (17:29 -0400)
committerColin Walters <walters@verbum.org>
Mon, 28 Aug 2023 21:29:57 +0000 (17:29 -0400)
Another conditional ownership.

src/libostree/ostree-repo.c

index a96c822dad7f7683aa2228e7f2ab6b7c0b2d7d13..23b6dd25312072d8c6a0db2f2c25f3512ed923f4 100644 (file)
@@ -2877,6 +2877,9 @@ get_remotes_d_dir (OstreeRepo *self, GFile *sysroot)
           break;
         }
     }
+
+  (void)sysroot_owned; // Conditionally owned
+
   /* For backwards compat, also fall back to the sysroot-path variable, which we
    * don't set anymore internally, and I hope no one else uses.
    */