Index: tests/OFHTTPClientTests.m ================================================================== --- tests/OFHTTPClientTests.m +++ tests/OFHTTPClientTests.m @@ -96,11 +96,11 @@ OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; OFHTTPClientTestsServer *server; OFURL *url; OFHTTPClient *client; OFHTTPRequest *request; - OFHTTPRequestReply *reply; + OFHTTPRequestReply *reply = nil; OFDataArray *data; cond = [OFCondition condition]; [cond lock]; @@ -113,11 +113,11 @@ url = [OFURL URLWithString: [OFString stringWithFormat: @"http://127.0.0.1:%" @PRIu16 "/foo", server->port]]; TEST(@"-[performRequest:]", - R(client = [OFHTTPClient client]) && + (client = [OFHTTPClient client]) && R(request = [OFHTTPRequest requestWithURL: url]) && R(reply = [client performRequest: request])) TEST(@"Normalization of server header keys", ([[reply headers] objectForKey: @"Content-Length"] != nil))