Re: [PATCH v2 2/8] pack-bitmap: mark object filter as `const`
- From
Taylor Blau <ttaylorr@openai.com>
- Date
- Jul 10, 2026, 22:25 UTC
- Message-ID
- <alFxdsQz9zRMrScO@com-79390>
- In-Reply-To
- <20260710-pks-odb-for-each-object-filter-v2-2-3710a9cc165a@pks.im>
On Fri, Jul 10, 2026 at 10:48:54AM +0200, Patrick Steinhardt wrote:
> The function `for_each_bitmapped_object()` accepts an optional object > filter. This filter is never modified by the function, but is not > declared as `const`. Fix this.
Makes sense. "Fix" this seems to imply that the existing behavior was broken or otherwise incorrect, but I think this is fine.
Show 5 quoted lines
> Signed-off-by: Patrick Steinhardt <ps@pks.im> > --- > pack-bitmap.c | 6 +++--- > pack-bitmap.h | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-)
Thanks, Taylor