[vtk-developers] gcc warnings about empty if/while bodies

David Cole david.cole at kitware.com
Tue Jun 17 13:35:26 EDT 2008


Don't know this code, but again... it's clearly a typo. Go ahead and fix it.


On Tue, Jun 17, 2008 at 1:30 PM, Sean McBride <sean at rogue-research.com>
wrote:

> On 6/17/08 8:55 AM, John Biddiscombe said:
>
> >> Highly suspicious.  Can anyone say for sure if that ; should be there?
> >it _must_ be a mistake. the reference to (*miter).second.second; would
> >be utterly meaningless otherwise - as would the whole function!
>
> Agreed.  I've committed it.  Here's another, in
> vtkOpenFOAMReader::GetCellZoneMesh()
>
>  for(l = 0; l < (int)cellPoints.size(); l++);
>   {
>   if(cellPoints[l] == this->FacePoints->value[this->FacesOfCell->
>                       value[cellZone[i]][j].faceIndex][k])
>     {
>     foundDup = true;
>     }
>   }
>
> Anyone know this code?
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 sean at rogue-research.com
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20080617/232e2b2c/attachment.html>


More information about the vtk-developers mailing list