0028643: Coding rules - eliminate GCC compiler warnings -Wmisleading-indentation
[occt.git] / src / IGESGraph / IGESGraph_Protocol.cxx
index eb611fa..3343c29 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_Protocol,IGESData_Protocol)
 
-static int deja = 0;
+static int THE_IGESGraph_Protocol_deja = 0;
 static Handle(Standard_Type) atype01,atype02,atype03,atype04,atype05,atype06,
   atype07,atype08,atype09,atype10,atype11,atype12,atype13,atype14;
 
-    IGESGraph_Protocol::IGESGraph_Protocol ()
+IGESGraph_Protocol::IGESGraph_Protocol()
 {
-  if (deja) return;  deja = 1;
+  if (THE_IGESGraph_Protocol_deja)
+  {
+    return;
+  }
+  THE_IGESGraph_Protocol_deja = 1;
   atype01 = STANDARD_TYPE(IGESGraph_Color);
   atype02 = STANDARD_TYPE(IGESGraph_DefinitionLevel);
   atype03 = STANDARD_TYPE(IGESGraph_DrawingSize);