0028643: Coding rules - eliminate GCC compiler warnings -Wmisleading-indentation
[occt.git] / src / IGESDraw / IGESDraw_Protocol.cxx
index 95621fd..e835ea2 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_Protocol,IGESData_Protocol)
 
-static int deja = 0;
+static int THE_IGESDraw_Protocol_deja = 0;
 static Handle(Standard_Type) atype01,atype02,atype03,atype04,atype05,atype06,
   atype07,atype08,atype09,atype10,atype11,atype12,atype13,atype14;
 
-    IGESDraw_Protocol::IGESDraw_Protocol ()
+IGESDraw_Protocol::IGESDraw_Protocol()
 {
-  if (deja) return;  deja = 1;
+  if (THE_IGESDraw_Protocol_deja)
+  {
+    return;
+  }
+
+  THE_IGESDraw_Protocol_deja = 1;
   atype01 = STANDARD_TYPE(IGESDraw_CircArraySubfigure);
   atype02 = STANDARD_TYPE(IGESDraw_ConnectPoint);
   atype03 = STANDARD_TYPE(IGESDraw_Drawing);