fix more Borland release build warnings about unused variable/code without effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -846,9 +846,10 @@ wxChar wxHtmlEntitiesParser::GetEntityChar(const wxString& entity) const
|
||||
while (substitutions[substitutions_cnt].code != 0)
|
||||
substitutions_cnt++;
|
||||
|
||||
wxHtmlEntityInfo *info = NULL;
|
||||
wxHtmlEntityInfo *info;
|
||||
#ifdef __WXWINCE__
|
||||
// bsearch crashes under WinCE for some reason
|
||||
info = NULL;
|
||||
size_t i;
|
||||
for (i = 0; i < substitutions_cnt; i++)
|
||||
{
|
||||
|
||||
@@ -200,8 +200,10 @@ void wxHtmlPrintout::OnPreparePrinting()
|
||||
|
||||
int ppiPrinterX, ppiPrinterY;
|
||||
GetPPIPrinter(&ppiPrinterX, &ppiPrinterY);
|
||||
wxUnusedVar(ppiPrinterX);
|
||||
int ppiScreenX, ppiScreenY;
|
||||
GetPPIScreen(&ppiScreenX, &ppiScreenY);
|
||||
wxUnusedVar(ppiScreenX);
|
||||
|
||||
wxDisplaySize(&scr_w, &scr_h);
|
||||
GetDC()->GetSize(&dc_w, &dc_h);
|
||||
|
||||
Reference in New Issue
Block a user