KBzip2Filter::uncompress outputs qDebug messages

Milian Wolff mail at milianw.de
Wed Aug 15 15:49:13 BST 2012


Hey there,

KDevelop uses KBzip2Filter indirectly and that always hits this branch for me:

KBzip2Filter::Result KBzip2Filter::uncompress()
{
    //qDebug() << "Calling bzDecompress with avail_in=" << inBufferAvailable() 
<< " avail_out=" << outBufferAvailable();
    int result = bzDecompress(&d->zStream);
    if ( result != BZ_OK )
    {
        qDebug() << "bzDecompress returned" << result;
        qDebug() << "KBzip2Filter::uncompress" << ( result == BZ_STREAM_END ? 
KFilterBase::End : KFilterBase::Error );
    }

The output is always: 
bzDecompress returned 4 
KBzip2Filter::uncompress 1

Could someone shed some light on this? Is this a serious issue? If not, can we 
silence the output please?

Thanks
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120815/6c3d5c5c/attachment.sig>


More information about the kde-core-devel mailing list