My compiler gives a warning in the code fragment below:

--------------------------------------------
..\abi\src\text\fmt\xp\fl_BlockLayout.cpp(690) : warning C4390: ';' : empty 
controlled statement found; is this the intent?
--------------------------------------------

Here is the problematic code, starting at line 659:

-------------------------------------------
if(m_pAutoNum->isItem(getStruxDocHandle()));
{
   m_pAutoNum->removeItem(getStruxDocHandle());
}
-------------------------------------------

Note that removeItem() will always be called!

Matti


Reply via email to