diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-03-05 20:21:10 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-03-05 20:21:10 +0200 |
commit | 60c5e72ad30f6c2108574f8c072a386302bc0f51 (patch) | |
tree | 69065edd511777bb788bc214a3a562d1ecfa953b /io.c | |
parent | a0753d1e2b362e9e6b4ea35ff6135505758521f6 (diff) | |
parent | 7b77ec860377eafcad05025888721a46b8a7f349 (diff) | |
download | egawk-60c5e72ad30f6c2108574f8c072a386302bc0f51.tar.gz egawk-60c5e72ad30f6c2108574f8c072a386302bc0f51.tar.bz2 egawk-60c5e72ad30f6c2108574f8c072a386302bc0f51.zip |
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3535,12 +3535,12 @@ rs1scan(IOBUF *iop, struct recmatch *recm, SCANSTATE *state) /* Thus, the check for \n here; big speedup ! */ if (rs != '\n' && gawk_mb_cur_max > 1) { int len = iop->dataend - bp; - int found = 0; + bool found = false; memset(& mbs, 0, sizeof(mbstate_t)); do { if (*bp == rs) - found = 1; + found = true; if (is_valid_character(*bp)) mbclen = 1; else |