Merge pull request #7230 from libgit2/ethomson/clar-2

clar: update with const correct iterator
This commit is contained in:
Edward Thomson
2026-04-28 21:14:38 +01:00
committed by GitHub

View File

@@ -136,7 +136,7 @@ static void clar_print_tap_error(int num, const struct clar_report *report, cons
static void print_escaped(const char *str)
{
char *c;
const char *c;
while ((c = strchr(str, '\'')) != NULL) {
printf("%.*s", (int)(c - str), str);