From 50012ba9757c49fc42874a0de1e858d570465129 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Tue, 29 Mar 2011 02:04:53 +0200 Subject: [PATCH] Get rid of unused variable useTLS. --- src/XMPPConnection.h | 3 --- src/XMPPConnection.m | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/XMPPConnection.h b/src/XMPPConnection.h index 616502f..ea80b4a 100644 --- a/src/XMPPConnection.h +++ b/src/XMPPConnection.h @@ -67,8 +67,6 @@ OFString *username, *password, *server, *resource; XMPPJID *JID; uint16_t port; - /// Whether to use TLS - BOOL useTLS; id delegate; XMPPAuthenticator *authModule; BOOL needsSession; @@ -80,7 +78,6 @@ @property (copy) OFString *username, *password, *server, *resource; @property (copy, readonly) XMPPJID *JID; @property (assign) uint16_t port; -@property (assign) BOOL useTLS; @property (retain) id delegate; @property (readonly, retain) XMPPRoster *roster; diff --git a/src/XMPPConnection.m b/src/XMPPConnection.m index 755b161..1fa679c 100644 --- a/src/XMPPConnection.m +++ b/src/XMPPConnection.m @@ -57,7 +57,7 @@ @end @implementation XMPPConnection -@synthesize JID, port, useTLS, delegate, roster; +@synthesize JID, port, delegate, roster; - init { @@ -69,7 +69,6 @@ elementBuilder = [[OFXMLElementBuilder alloc] init]; port = 5222; - useTLS = YES; parser.delegate = self; elementBuilder.delegate = self;