Tell compiler we don't care about rreturn value

This commit is contained in:
Richard Frith-Macdonald 2018-02-06 12:26:32 +00:00
parent 1937b36b86
commit ccd2fb1ac0

View file

@ -2211,8 +2211,8 @@ GSICUStringMatchesRegex(NSString *string, NSString *regex, NSStringCompareOption
static NSCharacterSet *_identifier;
NSString *ident;
// skip # as prefix (reserved words)
[self scanString: @"#" intoString: NULL];
// skip # as prefix if present (reserved words)
(void)[self scanString: @"#" intoString: NULL];
if (!_identifier)
{
ASSIGN(_identifier, [NSCharacterSet characterSetWithCharactersInString: