Re: [PATCH 06/10] reftable/generic: move generic iterator code into iterator interface
From: Patrick Steinhardt <hidden>
Date: 2024-08-14 12:56:56
From: Patrick Steinhardt <hidden>
Date: 2024-08-14 12:56:56
On Tue, Aug 13, 2024 at 06:04:30AM -0400, karthik nayak wrote:
Patrick Steinhardt [off-list ref] writes: [snip]quoted
+ +void reftable_iterator_destroy(struct reftable_iterator *it) +{ + if (!it->ops) { + return; + }I know this commit is to move, but I couldn't help noticing that we should remove the curly braces here. Seems like the CI caught it too [1].
Fair enough, let's remove them. Patrick