From f48b0ac8cd02fa6a9ada12a440a9bcadff97770f Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Mon, 12 Dec 2011 00:39:27 +0100 Subject: [PATCH] Eliminate dead code. --- src/XMPPConnection.m | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/XMPPConnection.m b/src/XMPPConnection.m index 3f9bb81..a6c97e7 100644 --- a/src/XMPPConnection.m +++ b/src/XMPPConnection.m @@ -384,19 +384,6 @@ [parser setDelegate: elementBuilder]; } -- (void)parser: (OFXMLParser*)p - didEndElement: (OFString*)name - withPrefix: (OFString*)prefix - namespace: (OFString*)ns - attributes: (OFArray*)attrs -{ - if (![name isEqual: @"stream"] || ![prefix isEqual: @"stream"] || - ![ns isEqual: XMPP_NS_STREAM]) { - of_log(@"Did not get expected stream end!"); - assert(0); - } -} - - (void)elementBuilder: (OFXMLElementBuilder*)builder didBuildElement: (OFXMLElement*)element {