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

src/ostree/ot-builtin-commit.c

index fad6de619e63addc96a0a243396ecf7c51062174..98aa5f952ab969df302fcc6453c15a67b1817b23 100644 (file)
@@ -473,6 +473,7 @@ ostree_builtin_commit (int argc, char **argv, OstreeCommandInvocation *invocatio
                                   cancellable, error))
         goto out;
     }
+  (void)mode_overrides; // This takes care of cleanup
 
   if (opt_skiplist_file)
     {