]> git.ipfire.org Git - thirdparty/git.git/commit
ref-filter: drop useless cast in trailers_atom_parser()
authorJeff King <peff@peff.net>
Mon, 9 Sep 2024 23:14:59 +0000 (19:14 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Sep 2024 23:26:09 +0000 (16:26 -0700)
commita2417a03c92d5a1cbd7d9b7e787e9d3882ad8842
tree9b7444e2d8caba5c0d334cb3977caec6ad99be42
parent99448c3d7824bb1d1092ce4f9b981c32d1951d3a
ref-filter: drop useless cast in trailers_atom_parser()

There's no need to cast invalid_arg before freeing it. It is already a
non-const pointer.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ref-filter.c