Skip to content

Commit

Permalink
Fixed some compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
montywi committed Sep 1, 2019
1 parent b091614 commit b23b3a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pcre/pcre_dfa_exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -2198,6 +2198,7 @@ for (;;)
case 0x2029:
#endif /* Not EBCDIC */
if ((md->moptions & PCRE_BSR_ANYCRLF) != 0) break;
/* fall through */

case CHAR_LF:
ADD_NEW(state_offset + 1, 0);
Expand Down
2 changes: 1 addition & 1 deletion pcre/pcre_exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -2086,7 +2086,7 @@ for (;;)
case OP_CIRC:
if (md->notbol && eptr == md->start_subject) RRETURN(MATCH_NOMATCH);

/* Start of subject assertion */
/* Fall through. Start of subject assertion */

case OP_SOD:
if (eptr != md->start_subject) RRETURN(MATCH_NOMATCH);
Expand Down
2 changes: 1 addition & 1 deletion pcre/pcregrep.c
Original file line number Diff line number Diff line change
Expand Up @@ -2407,7 +2407,7 @@ handle_option(int letter, int options)
switch(letter)
{
case N_FOFFSETS: file_offsets = TRUE; break;
case N_HELP: help(); pcregrep_exit(0);
case N_HELP: help(); pcregrep_exit(0); break;
case N_LBUFFER: line_buffered = TRUE; break;
case N_LOFFSETS: line_offsets = number = TRUE; break;
case N_NOJIT: study_options &= ~PCRE_STUDY_JIT_COMPILE; break;
Expand Down

0 comments on commit b23b3a5

Please sign in to comment.