]> err.no Git - sope/commitdiff
fixed some gcc 4.1 warnings
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Sun, 18 Mar 2007 09:47:29 +0000 (09:47 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Sun, 18 Mar 2007 09:47:29 +0000 (09:47 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1463 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-appserver/NGObjWeb/ChangeLog
sope-appserver/NGObjWeb/Version
sope-appserver/NGObjWeb/WORequest.m
sope-appserver/NGObjWeb/WebDAV/SoWebDAVRenderer.m

index 1faa09bd9b6fec9e9f9d3eb781dad8730b61af22..f070be25cd018e749f9d313d39cc0e894587b536 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-22  Helge Hess  <helge.hess@opengroupware.org>
+
+       * WORequest.m, WebDAV/SoWebDAVRenderer.m: fixed a gcc 4.1 warning
+         (v4.7.6)
+
 2007-03-16  Marcus Mueller  <znek@mulle-kybernetik.com>
 
        * v4.7.5
index 3e15b7beac7d83ae8c2aeed618443aca5665632d..1cc02950a645bada004667ae8aeef78c6fd68928 100644 (file)
@@ -1,6 +1,6 @@
 # version file
 
-SUBMINOR_VERSION:=5
+SUBMINOR_VERSION:=6
 
 # v4.5.234 requires libDOM          v4.5.21
 # v4.5.214 requires libNGExtensions v4.5.179
index a8c6f4651b79fe6b6d78171d623a13c01be6a3d6..421947d39a9c1b7b527f836476aeccd8232098fd 100644 (file)
@@ -684,7 +684,7 @@ static BOOL debugOn = NO;
   v = [self formValueForKey:WORequestValueFragmentID];
   if (v == nil) return nil;
   v = [v stringByTrimmingWhiteSpaces];
-  return [v isNotEmpty] ? v : nil;
+  return [v isNotEmpty] ? v : (NSString *)nil;
 }
 
 - (BOOL)isFragmentIDInRequest {
index 94a801a48a3aa4db4cae66f50c66942b54e28c81..d1cbaf50a6e5d1750b63c68355e97140a3b0f811 100644 (file)
@@ -378,7 +378,7 @@ static BOOL         useRelativeURLs = YES;
        continue;
       
       tag = [[item objectAtIndex:0] stringValue];
-      ns  = (count > 1) ? [[item objectAtIndex:1] stringValue] : nil;
+      ns  = (count > 1) ? [[item objectAtIndex:1] stringValue]:(NSString*)nil;
       pre = (count > 2) ? [[item objectAtIndex:2] stringValue] : davNS;
 
       [ms appendString:@"<"];