[osg-users] a ; too many

Robert Osfield robert.osfield at gmail.com
Tue Feb 19 07:14:23 PST 2008


Thanks for reporting this Anders, this.  The ; was indeed erroneous,
fix a bug, introduce a bug...  I've now removed the ; and checked in
this fix.

On Feb 19, 2008 2:52 PM, Anders Backman <andersb at cs.umu.se> wrote:
> When I build osg from svn today I got the warning:
>
>
> .\ParticleSystem.cpp(187) : warning C4390: ';' : empty controlled statement
> found; is this the intent?
>
> Looks like a "feature" to me.
>
>
>  if (currentParticle->getShape() != startParticle->getShape()); <<<
>             {
>                 startParticle->endRender();
>                 currentParticle->beginRender();
>                 startParticle = currentParticle;
>              }
>
> /Anders
>
> --
>
>
> ________________________________________________________________
>  Anders Backman               Email:    andersb at cs.umu.se
>  HPC2N/VRlab                  Phone:    +46 (0)90-786 9936
>  Umea university              Cellular: +46 (0)70-392 64 67
>  S-901 87 UMEA SWEDEN         Fax:      +46 90-786 6126
>                                http://www.cs.umu.se/~andersb
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


More information about the osg-users mailing list