mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Avoid compiler warnings and fix error in assertion
This commit is contained in:
parent
b4feee311f
commit
a67e28ad67
2 changed files with 2 additions and 1 deletions
|
@ -117,6 +117,7 @@
|
|||
- (unsigned) skipArray;
|
||||
- (unsigned) skipBlock;
|
||||
- (unsigned) skipBlock: (BOOL*)isEmpty;
|
||||
- (unsigned) skipGeneric;
|
||||
- (unsigned) skipLiteral;
|
||||
- (unsigned) skipRemainderOfLine;
|
||||
- (unsigned) skipSpaces;
|
||||
|
|
|
@ -3981,7 +3981,7 @@ countAttributes(NSSet *keys, NSDictionary *a)
|
|||
NSString *directive;
|
||||
// NSString *where = [self where];
|
||||
|
||||
NSAssert(pos > 0 & '#' == buffer[pos - 1], NSInternalInconsistencyException);
|
||||
NSAssert(pos > 0 && '#' == buffer[pos - 1], NSInternalInconsistencyException);
|
||||
|
||||
inPreprocessorDirective = YES;
|
||||
directive = [self parseIdentifier];
|
||||
|
|
Loading…
Reference in a new issue