mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
string.c: fix braces
* string.c (search_nonascii): fix braces unmatched by a preprocessing condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f1183cb910
commit
0e3475a6d9
1 changed files with 1 additions and 3 deletions
4
string.c
4
string.c
|
@ -429,8 +429,8 @@ search_nonascii(const char *p, const char *e)
|
|||
# define NONASCII_MASK 0x80808080UL
|
||||
#endif
|
||||
|
||||
if (UNALIGNED_WORD_ACCESS || e - p >= SIZEOF_VOIDP) {
|
||||
#if !UNALIGNED_WORD_ACCESS
|
||||
if (e - p >= SIZEOF_VOIDP) {
|
||||
if ((uintptr_t)p % SIZEOF_VOIDP) {
|
||||
int l = SIZEOF_VOIDP - (uintptr_t)p % SIZEOF_VOIDP;
|
||||
p += l;
|
||||
|
@ -448,8 +448,6 @@ search_nonascii(const char *p, const char *e)
|
|||
case 0: break;
|
||||
}
|
||||
}
|
||||
#else
|
||||
{
|
||||
#endif
|
||||
s = (const uintptr_t *)p;
|
||||
t = (const uintptr_t *)(e - (SIZEOF_VOIDP-1));
|
||||
|
|
Loading…
Reference in a new issue