From a8b549f7df71c33f1029ea74a4f2bbe8febad7ad Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Thu, 26 Nov 2020 13:28:03 +0000 Subject: [PATCH] Remove debugging code. --- src/tiffvisitor_int.cpp | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/src/tiffvisitor_int.cpp b/src/tiffvisitor_int.cpp index fcbbce19..218d970d 100644 --- a/src/tiffvisitor_int.cpp +++ b/src/tiffvisitor_int.cpp @@ -317,26 +317,6 @@ namespace Exiv2 { void TiffDecoder::visitEntry(TiffEntry* object) { -#if 0 - std::cout << Exiv2::Internal::stringFormat (" %#6x.%-2d | %2d | %10d | %5d ",object->tag(),object->group(),object->tiffType(),object->offset(),object->count()) << std::endl; - if ( object->tiffType() == Exiv2::tiffIfd ) { - std::cout << "Eureka! Found an tiffIfd " << std::endl; - if ( object->tiffType() == Exiv2::tiffIfd ) { - // add a tiffIfd - // we have to visit this to create the chain of TiffDirectory ifd_; - for ( size_t ifd = 0 ; ifd < object->count() ; ifd++ ) { -#if 0 - TiffComponent::AutoPtr tc = TiffCreator::create(object->tag(), object->group()); - if (tc.get()) { - size_t nEntries = getShort(object->pData + 2 + ifd*12,endian_); - tc->setStart(object->pStart_) ; // p); - object->addChild(tc); - } -#endif - } // for ifd - } - } -#endif decodeTiffEntry(object); } @@ -355,20 +335,9 @@ namespace Exiv2 { decodeTiffEntry(object); } - void TiffDecoder::visitDirectory(TiffDirectory* object) + void TiffDecoder::visitDirectory(TiffDirectory* /* object */ ) { // Nothing to do - if ( object ) { - std::cout << ""; -#if 0 - for (size_t i = 0 ; i < object->components_.size() ; ++i) { - object->components_[i]->accept(*this); - // object->components_[i]->doAccept(this); - // this->decodeTiffEntry(object->components_[i]); - // this->visitDirectory(object->components_[i]); - } -#endif - } } void TiffDecoder::visitSubIfd(TiffSubIfd* object)