Get rid of unused variable useTLS.
This commit is contained in:
parent
dc0f6bfc69
commit
50012ba975
2 changed files with 1 additions and 5 deletions
|
@ -67,8 +67,6 @@
|
|||
OFString *username, *password, *server, *resource;
|
||||
XMPPJID *JID;
|
||||
uint16_t port;
|
||||
/// Whether to use TLS
|
||||
BOOL useTLS;
|
||||
id <XMPPConnectionDelegate, OFObject> 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 <XMPPConnectionDelegate> delegate;
|
||||
@property (readonly, retain) XMPPRoster *roster;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue