From 8b4c010999a8d0c482d84bbf17c98dc4bbae02b7 Mon Sep 17 00:00:00 2001 From: derek Date: Mon, 17 Oct 2011 15:55:12 -0400 Subject: [PATCH] Removed some debugging 'error string' messages that snuck into last commit --- src/api/BamAlignment.cpp | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/src/api/BamAlignment.cpp b/src/api/BamAlignment.cpp index c95e896..0b13fb4 100644 --- a/src/api/BamAlignment.cpp +++ b/src/api/BamAlignment.cpp @@ -2,7 +2,7 @@ // BamAlignment.cpp (c) 2009 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- -// Last modified: 13 October 2011 (DB) +// Last modified: 17 October 2011 (DB) // --------------------------------------------------------------------------- // Provides the BamAlignment data structure // *************************************************************************** @@ -365,18 +365,9 @@ bool BamAlignment::FindTag(const std::string& tag, return true; // get the storage class and find the next tag - if ( *pTagStorageType == '\0' ) { - ErrorString = "unexpected null found - 1"; - return false; - } - if ( !SkipToNextTag(*pTagStorageType, pTagData, numBytesParsed) ) { - ErrorString = "could not skip to next tag"; - return false; - } - if ( *pTagData == '\0' ) { - ErrorString = "unexpected null found - 2"; - return false; - } + if ( *pTagStorageType == '\0' ) return false; + if ( !SkipToNextTag(*pTagStorageType, pTagData, numBytesParsed) ) return false; + if ( *pTagData == '\0' ) return false; } // checked all tags, none match -- 2.39.2