Skip to content

Commit cba8516

Browse files
committed
Silence warnings in Xcode for PMH
1 parent f8aff46 commit cba8516

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Dependency/peg-markdown-highlight/pmh_parser_foot.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ static void parse_references(parser_data *p_data)
4040
p_data->head_elems[pmh_REFERENCE] = NULL;
4141
}
4242

43+
#pragma clang diagnostic pop

Dependency/peg-markdown-highlight/pmh_parser_head.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
#define strdup _strdup
3232
#endif
3333

34-
34+
#pragma clang diagnostic push
35+
#pragma clang diagnostic ignored "-Wunreachable-code"
3536

3637
// Internal language element occurrence structure, containing
3738
// both public and private members:

0 commit comments

Comments
 (0)