Skip to content

Commit

Permalink
Moved a #ifdef _DEBUG line up to include two initializations and thus…
Browse files Browse the repository at this point in the history
… eliminate a GCC defined but not used warning.
  • Loading branch information
pngbill committed Jun 12, 2024
1 parent 7456e61 commit 2576292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Adapt_ItView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1296,9 +1296,9 @@ CPile* CAdapt_ItView::GetNextPile_forFreeTrans()

// Start at pile after last one of the current section
iStart += nFreeTransLen;
#ifdef _DEBUG
int iEnd = iStart + nFreeTransLen;
int ndex = 0;
#ifdef _DEBUG
for (ndex = iStart; ndex <= iEnd; ndex++)
{
aPilePtr = pDoc->GetPile(ndex);
Expand Down

0 comments on commit 2576292

Please sign in to comment.