+2005-04-25 Helge Hess <helge.hess@opengroupware.org>
+
+ * fixed gcc 4.0 warnings (v4.5.28)
+
2005-03-21 Helge Hess <helge.hess@skyrix.com>
* GNUmakefile: added FHS support (v4.5.27)
- (id)initWithPropertyList:(id)_plist {
if ((self = [super init])) {
- self->columnName = [[_plist objectForKey:@"columnName"] copy];
- self->sqlType = [[_plist objectForKey:@"sqlType"] copy];
+ NSDictionary *plist = _plist;
- self->allowsNull = [[_plist objectForKey:@"allowsNull"] boolValue];
- self->isPrimaryKey = [[_plist objectForKey:@"isPrimaryKey"] boolValue];
+ self->columnName = [[plist objectForKey:@"columnName"] copy];
+ self->sqlType = [[plist objectForKey:@"sqlType"] copy];
+
+ self->allowsNull = [[plist objectForKey:@"allowsNull"] boolValue];
+ self->isPrimaryKey = [[plist objectForKey:@"isPrimaryKey"] boolValue];
if (![self->columnName isNotNull] || ![self->sqlType isNotNull]) {
[self release];
sql = [NSMutableString stringWithCapacity:(count * 8)];
for (i = 0; i < quickPathCount; i++) {
NSString *pathColumn;
- unsigned char buf[32];
+ char buf[32];
sprintf(buf, GCSPathColumnPattern, (i + 1));
pathColumn = [[NSString alloc] initWithCString:buf];
- (id)initWithPropertyList:(id)_plist {
if ((self = [super init])) {
- self->blobTablePattern = [[_plist objectForKey:@"blobTablePattern"] copy];
- self->quickTablePattern = [[_plist objectForKey:@"quickTablePattern"]copy];
+ NSDictionary *plist = _plist;
- self->extractorClassName =
- [[_plist objectForKey:@"extractorClassName"] copy];
+ self->blobTablePattern = [[plist objectForKey:@"blobTablePattern"] copy];
+ self->quickTablePattern = [[plist objectForKey:@"quickTablePattern"]copy];
+
+ self->extractorClassName =
+ [[plist objectForKey:@"extractorClassName"] copy];
// TODO: qualifier;
self->fields = [[GCSFieldInfo fieldsForPropertyList:
- [_plist objectForKey:@"fields"]] retain];
+ [plist objectForKey:@"fields"]] retain];
}
return self;
}
MAJOR_VERSION:=4
MINOR_VERSION:=5
-SUBMINOR_VERSION:=27
+SUBMINOR_VERSION:=28
# v4.5.26 does not require libNGiCal anymore
# v0.9.19 requires libNGiCal v4.5.40
break;
}
- self = [self initWithString:s calendarFormat:calfmt];
+ if ((self = [self initWithString:s calendarFormat:calfmt]) == nil) {
+ NSLog(@"WARNING(%s): got no value for string '%@' format '%@'.",
+ __PRETTY_FUNCTION__, s, calfmt);
+ }
+
[s release];
[self setCalendarFormat:MYSQL4_DATETIME_FORMAT];
return self;