adium 5470:264a98a8aed2: These asserts aren't necessary.

commits at adium.im commits at adium.im
Tue May 7 14:40:03 UTC 2013


details:	http://hg.adium.im/adium/rev/264a98a8aed2
revision:	5470:264a98a8aed2
branch:		adium-1.6
author:		Thijs Alkemade <me at thijsalkema.de>
date:		Tue May 07 16:38:56 2013 +0200

These asserts aren't necessary.

diffs (19 lines):

diff -r cf307a894dbf -r 264a98a8aed2 Plugins/Purple Service/AMPurpleJabberNode.m
--- a/Plugins/Purple Service/AMPurpleJabberNode.m	Tue May 07 16:25:06 2013 +0200
+++ b/Plugins/Purple Service/AMPurpleJabberNode.m	Tue May 07 16:38:56 2013 +0200
@@ -295,7 +295,6 @@
 	if (jid)
 		[iq addAttribute:[NSXMLNode attributeWithName:@"to" stringValue:jid]];
 	
-	assert(discoIqId == NULL);
 	self.discoIqId = [NSString stringWithFormat:@"%@%lu,",[self className], iqCounter++];
 	
 	[iq addAttribute:[NSXMLNode attributeWithName:@"id" stringValue:self.discoIqId]];
@@ -324,7 +323,6 @@
 	if (jid)
 		[iq addAttribute:[NSXMLNode attributeWithName:@"to" stringValue:jid]];
 	
-	assert(infoIqId == NULL);
 	self.infoIqId = [NSString stringWithFormat:@"%@%lu,",[self className], iqCounter++];
 	[iq addAttribute:[NSXMLNode attributeWithName:@"id" stringValue:self.infoIqId]];
 	




More information about the commits mailing list