Eliminate some compiler warnings (in Release mode).

This commit is contained in:
Tvangeste 2013-02-04 14:46:30 +01:00
parent 078c326252
commit 05070b4fc8
3 changed files with 8 additions and 0 deletions

View file

@ -445,7 +445,9 @@ ArticleDom::ArticleDom( wstring const & str ):
stack.pop_back();
if ( stack.size() )
{
FDPRINTF( stderr, "Warning: %u tags were unclosed.\n", (unsigned) stack.size() );
}
}
void ArticleDom::closeTag( wstring const & name,

View file

@ -151,7 +151,9 @@ void MediaWikiWordSearchRequest::cancel()
finish();
}
else
{
DPRINTF("not long enough\n" );
}
}
void MediaWikiWordSearchRequest::downloadFinished()

View file

@ -1102,8 +1102,10 @@ vector< sptr< Dictionary::Class > > makeDictionaries(
chunks.addToBlock( n.data(), n.size() );
}
else
{
DPRINTF( "Warning: duplicate full_name in %s\n", dictFiles[ 0 ].c_str() );
}
}
else
if ( stream.name() == "description" )
{
@ -1121,8 +1123,10 @@ vector< sptr< Dictionary::Class > > makeDictionaries(
chunks.addToBlock( n.data(), n.size() );
}
else
{
DPRINTF( "Warning: duplicate description in %s\n", dictFiles[ 0 ].c_str() );
}
}
else
if ( stream.name() == "abbreviations" )
{