Skip to content

Commit b912b4e

Browse files
committed
A few more GCC warnings dealt with in release builds.
1 parent e1a52dd commit b912b4e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

source/MainFrm.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -4794,8 +4794,8 @@ void CMainFrame::OnIdle(wxIdleEvent& event)
47944794
//int oldSN = pApp->m_nOldSequNum;
47954795
//int curSN = pApp->m_nActiveSequNum;
47964796

4797-
bool bIsKBSvrAdaptProj = gpApp->m_bIsKBServerProject;
4798-
bool bIsKBSvGlossProj = gpApp->m_bIsGlossingKBServerProject;
4797+
bool bIsKBSvrAdaptProj = gpApp->m_bIsKBServerProject; wxUnusedVar(bIsKBSvrAdaptProj);
4798+
bool bIsKBSvGlossProj = gpApp->m_bIsGlossingKBServerProject; wxUnusedVar(bIsKBSvGlossProj);
47994799

48004800
// BEW 19Mar24 removed the constraining test here, which uses bHasAdvanced, at Bill's request
48014801
// and to retest to see if reentrancy problems arise from the today's changes

source/PhraseBox.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1942,6 +1942,7 @@ bool CPhraseBox::MoveToNextPile(CPile* pCurPile)
19421942
// gbIsGlossing is OFF
19431943
wxString str = m_Translation; // m_Translation set within LookAhead()
19441944
CSourcePhrase* pSrcPhraseWhat; pSrcPhraseWhat = NULL; // init
1945+
wxUnusedVar(pSrcPhraseWhat);
19451946

19461947
if (!gbIsGlossing && (m_Translation == _T("<Not In KB>")))
19471948
{

0 commit comments

Comments
 (0)