mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
cast -scanString: return to void where we don't need to check it.
This commit is contained in:
parent
ab822a35a3
commit
323f9abace
1 changed files with 2 additions and 2 deletions
|
@ -2359,7 +2359,7 @@ GSICUStringMatchesRegex(NSString *string, NSString *regex, NSStringCompareOption
|
|||
[self nextArg]];
|
||||
|
||||
case 'h':
|
||||
[self scanString: @"h" intoString: NULL];
|
||||
(void)[self scanString: @"h" intoString: NULL];
|
||||
if ([self isAtEnd] == NO)
|
||||
{
|
||||
c = [[self string] characterAtIndex: [self scanLocation]];
|
||||
|
@ -2373,7 +2373,7 @@ GSICUStringMatchesRegex(NSString *string, NSString *regex, NSStringCompareOption
|
|||
break;
|
||||
|
||||
case 'q':
|
||||
[self scanString: @"q" intoString: NULL];
|
||||
(void)[self scanString: @"q" intoString: NULL];
|
||||
if ([self isAtEnd] == NO)
|
||||
{
|
||||
c = [[self string] characterAtIndex: [self scanLocation]];
|
||||
|
|
Loading…
Reference in a new issue