Get rid of unused variable useTLS.

This commit is contained in:
Jonathan Schleifer 2011-03-29 02:04:53 +02:00
parent dc0f6bfc69
commit 50012ba975
2 changed files with 1 additions and 5 deletions

View file

@ -67,8 +67,6 @@
OFString *username, *password, *server, *resource; OFString *username, *password, *server, *resource;
XMPPJID *JID; XMPPJID *JID;
uint16_t port; uint16_t port;
/// Whether to use TLS
BOOL useTLS;
id <XMPPConnectionDelegate, OFObject> delegate; id <XMPPConnectionDelegate, OFObject> delegate;
XMPPAuthenticator *authModule; XMPPAuthenticator *authModule;
BOOL needsSession; BOOL needsSession;
@ -80,7 +78,6 @@
@property (copy) OFString *username, *password, *server, *resource; @property (copy) OFString *username, *password, *server, *resource;
@property (copy, readonly) XMPPJID *JID; @property (copy, readonly) XMPPJID *JID;
@property (assign) uint16_t port; @property (assign) uint16_t port;
@property (assign) BOOL useTLS;
@property (retain) id <XMPPConnectionDelegate> delegate; @property (retain) id <XMPPConnectionDelegate> delegate;
@property (readonly, retain) XMPPRoster *roster; @property (readonly, retain) XMPPRoster *roster;

View file

@ -57,7 +57,7 @@
@end @end
@implementation XMPPConnection @implementation XMPPConnection
@synthesize JID, port, useTLS, delegate, roster; @synthesize JID, port, delegate, roster;
- init - init
{ {
@ -69,7 +69,6 @@
elementBuilder = [[OFXMLElementBuilder alloc] init]; elementBuilder = [[OFXMLElementBuilder alloc] init];
port = 5222; port = 5222;
useTLS = YES;
parser.delegate = self; parser.delegate = self;
elementBuilder.delegate = self; elementBuilder.delegate = self;