[osg-users] a ; too many

Anders Backman andersb at cs.umu.se
Tue Feb 19 06:52:58 PST 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080219/c730a031/attachment.html 


More information about the osg-users mailing list