mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
Merge pull request #7230 from libgit2/ethomson/clar-2
clar: update with const correct iterator
This commit is contained in:
2
deps/clar/clar/print.h
vendored
2
deps/clar/clar/print.h
vendored
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user