summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Schleifer <js@webkeks.org>2011-04-10 14:18:37 +0200
committerJonathan Schleifer <js@webkeks.org>2011-04-10 14:18:37 +0200
commit8ca798bdbd31a3a5e9ae3572819dd426b196f6db (patch)
treeaf4b6bb2480bd4b310e0d5e70f6d7923e09f8daf
parent8a7f36e3d42645f6ed1e5abff595832d4a3d0f1b (diff)
Apple GCC 4.0.1 thinks this variable might be uninitialized.
It can't, but let's make GCC happy.
-rw-r--r--src/OFHTTPRequest.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OFHTTPRequest.m b/src/OFHTTPRequest.m
index 60fbbec2..e7ea81c3 100644
--- a/src/OFHTTPRequest.m
+++ b/src/OFHTTPRequest.m
@@ -167,7 +167,7 @@ Class of_http_request_tls_socket_class = Nil;
OFEnumerator *enumerator;
OFString *key;
int status;
- const char *t;
+ const char *t = NULL;
[sock connectToHost: [URL host]
onPort: [URL port]];