Skip to content

Commit

Permalink
Silence warnings in Xcode for PMH
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed Oct 8, 2016
1 parent f8aff46 commit cba8516
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dependency/peg-markdown-highlight/pmh_parser_foot.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ static void parse_references(parser_data *p_data)
p_data->head_elems[pmh_REFERENCE] = NULL;
}

#pragma clang diagnostic pop
3 changes: 2 additions & 1 deletion Dependency/peg-markdown-highlight/pmh_parser_head.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
#define strdup _strdup
#endif


#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunreachable-code"

// Internal language element occurrence structure, containing
// both public and private members:
Expand Down

0 comments on commit cba8516

Please sign in to comment.