fixups in changes made to avoid compiler warnings.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29261 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-01-11 12:38:37 +00:00
parent 93b94d87b2
commit b43991f8f6
9 changed files with 52 additions and 49 deletions

View file

@ -112,15 +112,11 @@ extern BOOL GSScanDouble(unichar*, unsigned, double*);
- (void) unescape;
@end
@interface GSSloppyXMLParser : NSXMLParser
@end
@implementation GSXMLPListParser
static Class theClass = 0;
+ (void) initialize
{
theClass = NSClassFromString(@"GSSloppyXMLParser");
}
- (void) dealloc
{
RELEASE(key);
@ -136,7 +132,7 @@ static Class theClass = 0;
{
if ((self = [super init]) != nil)
{
theParser = [[theClass alloc] initWithData: data];
theParser = [[GSSloppyXMLParser alloc] initWithData: data];
[theParser setDelegate: self];
opts = options;
}