mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024236: Eliminate GCC compiler warning (uninitialized variables)
This commit is contained in:
@@ -591,7 +591,7 @@ gp_Pnt2d Graphic3d_ArrayOfPrimitives::VertexTexel(const Standard_Integer aRank)
|
||||
|
||||
Quantity_Color Graphic3d_ArrayOfPrimitives::BoundColor(const Standard_Integer aRank) const
|
||||
{
|
||||
Standard_Real r,g,b;
|
||||
Standard_Real r = 0.0, g = 0.0, b = 0.0;
|
||||
BoundColor(aRank,r,g,b);
|
||||
return Quantity_Color(r,g,b,Quantity_TOC_RGB);
|
||||
}
|
||||
|
Reference in New Issue
Block a user