diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-04-16 15:34:27 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-04-16 15:34:27 +0000 |
commit | 79529e844054073c79292854e9ad6dab5410593d (patch) | |
tree | af18c4a4a9dd7735f8d12b8e450001db9875dab4 /src/pcre2_compile.c | |
parent | 74e493781b2e6675ea98a6814c91aa0debd2b802 (diff) | |
download | pcre2-79529e844054073c79292854e9ad6dab5410593d.tar.gz |
Final file tidies for 10.33.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1086 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_compile.c')
-rw-r--r-- | src/pcre2_compile.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pcre2_compile.c b/src/pcre2_compile.c index ab48d2d..068735a 100644 --- a/src/pcre2_compile.c +++ b/src/pcre2_compile.c @@ -5948,10 +5948,10 @@ for (;; pptr++) (void)memmove(code + (32 / sizeof(PCRE2_UCHAR)), code, CU2BYTES(class_uchardata - code)); if (negate_class && !xclass_has_prop) - { - /* Using 255 ^ instead of ~ avoids clang sanitize warning. */ + { + /* Using 255 ^ instead of ~ avoids clang sanitize warning. */ for (i = 0; i < 32; i++) classbits[i] = 255 ^ classbits[i]; - } + } memcpy(code, classbits, 32); code = class_uchardata + (32 / sizeof(PCRE2_UCHAR)); } @@ -5974,10 +5974,10 @@ for (;; pptr++) if (lengthptr == NULL) /* Save time in the pre-compile phase */ { if (negate_class) - { - /* Using 255 ^ instead of ~ avoids clang sanitize warning. */ + { + /* Using 255 ^ instead of ~ avoids clang sanitize warning. */ for (i = 0; i < 32; i++) classbits[i] = 255 ^ classbits[i]; - } + } memcpy(code, classbits, 32); } code += 32 / sizeof(PCRE2_UCHAR); |