mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024180: Eliminate CLang / GCC compiler warning -Wswitch
Eliminated warnings -Wswitch shown by gcc Eliminated two new warnings about wrong initialization order Eliminated warnings about unused functions. A few more ICC warnings (type conversions) fixed
This commit is contained in:
@@ -266,12 +266,12 @@ static Graphic3d_Vertex& _MyProjReferencePoint() {
|
||||
|
||||
V3d_View::V3d_View(const Handle(V3d_Viewer)& VM, const V3d_TypeOfView Type ) :
|
||||
MyType ( Type ),
|
||||
MyProjModel(V3d_TPM_SCREEN),
|
||||
MyViewer(VM.operator->()),
|
||||
MyActiveLights(),
|
||||
MyViewContext (),
|
||||
myActiveLightsIterator(),
|
||||
SwitchSetFront(Standard_False),
|
||||
MyProjModel(V3d_TPM_SCREEN),
|
||||
MyTrsf (1, 4, 1, 4) // S3892
|
||||
{
|
||||
myImmediateUpdate = Standard_False;
|
||||
@@ -367,13 +367,13 @@ MyTrsf (1, 4, 1, 4) // S3892
|
||||
|
||||
V3d_View::V3d_View(const Handle(V3d_Viewer)& VM,const Handle(V3d_View)& V, const V3d_TypeOfView Type ) :
|
||||
MyType ( Type ),
|
||||
MyProjModel(V3d_TPM_SCREEN),
|
||||
MyViewer(VM.operator->()),
|
||||
MyActiveLights(),
|
||||
MyViewContext (),
|
||||
myActiveLightsIterator(),
|
||||
SwitchSetFront(Standard_False),
|
||||
MyTrsf (1, 4, 1, 4), // S3892
|
||||
MyProjModel(V3d_TPM_SCREEN)
|
||||
MyTrsf (1, 4, 1, 4) // S3892
|
||||
{
|
||||
Handle(Visual3d_View) FromView = V->View() ;
|
||||
|
||||
|
Reference in New Issue
Block a user