Re: [PATCH 06/10] reftable/generic: move generic iterator code into iterator interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patrick Steinhardt <ps@xxxxxx> writes:

[snip]

> +
> +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].

> +	it->ops->close(it->iter_arg);
> +	it->ops = NULL;
> +	FREE_AND_NULL(it->iter_arg);
> +}
> +

[snip]

[1]: https://gitlab.com/gitlab-org/git/-/jobs/7563308943

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux