Fixed most build warnings

This commit is contained in:
Wolfgang Sourdeau committed 2012-10-22 10:09:13 -04:00
1 parent dac021799a
commit 6d8c328910
56 files changed
+238 -210

No files matched your search

+6 -5
View File
@@ -598,7 +598,7 @@
{
WOResponse *r;
id <DOMDocument> document;
DOMElement *documentElement, *propElement;
id <DOMElement> documentElement, propElement;
r = [context response];
[r prepareDAVResponse];
@@ -606,10 +606,11 @@
[NSString stringWithFormat: @"<D:multistatus xmlns:D=\"DAV:\""
@" xmlns:C=\"%@\">", namespace]];
document = [[queryContext request] contentAsDOMDocument];
documentElement = (DOMElement *) [document documentElement];
propElement = [documentElement firstElementWithTag: @"prop"
inNamespace: @"DAV:"];
[self _appendComponentProperties: [propElement flatPropertyNameOfSubElements]
documentElement = [document documentElement];
propElement = [(NGDOMNodeWithChildren *) documentElement
firstElementWithTag: @"prop"
inNamespace: @"DAV:"];
[self _appendComponentProperties: [(NGDOMNodeWithChildren *) propElement flatPropertyNameOfSubElements]
matchingURLs: [documentElement getElementsByTagName: @"href"]
toResponse: r];
[r appendContentString:@"</D:multistatus>"];