mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Eliminate some compiler warnings (in Release mode).
This commit is contained in:
parent
078c326252
commit
05070b4fc8
|
@ -445,8 +445,10 @@ 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,
|
||||
list< Node * > & stack,
|
||||
|
|
|
@ -151,8 +151,10 @@ void MediaWikiWordSearchRequest::cancel()
|
|||
finish();
|
||||
}
|
||||
else
|
||||
{
|
||||
DPRINTF("not long enough\n" );
|
||||
}
|
||||
}
|
||||
|
||||
void MediaWikiWordSearchRequest::downloadFinished()
|
||||
{
|
||||
|
|
4
xdxf.cc
4
xdxf.cc
|
@ -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" )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue