mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
Eliminate some compiler warnings (in Release mode).
This commit is contained in:
parent
078c326252
commit
05070b4fc8
|
@ -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,
|
||||
|
|
|
@ -151,7 +151,9 @@ void MediaWikiWordSearchRequest::cancel()
|
|||
finish();
|
||||
}
|
||||
else
|
||||
{
|
||||
DPRINTF("not long enough\n" );
|
||||
}
|
||||
}
|
||||
|
||||
void MediaWikiWordSearchRequest::downloadFinished()
|
||||
|
|
4
xdxf.cc
4
xdxf.cc
|
@ -1102,7 +1102,9 @@ 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,7 +1123,9 @@ 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