소스 검색

add the ignore for used parameters

Sven Czarnian 3 년 전
부모
커밋
95493674e8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/PlugIn.cpp

+ 2 - 2
src/PlugIn.cpp

@@ -481,15 +481,15 @@ void PlugIn::OnGetTagItem(EuroScopePlugIn::CFlightPlan flightPlan, EuroScopePlug
         }
         }
         else {
         else {
             std::strcpy(itemString, "N/A");
             std::strcpy(itemString, "N/A");
-            *colorCode = EuroScopePlugIn::TAG_COLOR_DEFAULT;
         }
         }
     }
     }
+
+    *colorCode = EuroScopePlugIn::TAG_COLOR_DEFAULT;
 }
 }
 
 
 void PlugIn::OnFunctionCall(int functionId, const char* itemString, POINT pt, RECT area) {
 void PlugIn::OnFunctionCall(int functionId, const char* itemString, POINT pt, RECT area) {
     std::ignore = itemString;
     std::ignore = itemString;
     std::ignore = pt;
     std::ignore = pt;
-    std::ignore = area;
 
 
     const auto radarTarget = this->RadarTargetSelectASEL();
     const auto radarTarget = this->RadarTargetSelectASEL();
     if (false == radarTarget.IsValid() || false == radarTarget.GetCorrelatedFlightPlan().IsValid())
     if (false == radarTarget.IsValid() || false == radarTarget.GetCorrelatedFlightPlan().IsValid())