فهرست منبع

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 {
             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) {
     std::ignore = itemString;
     std::ignore = pt;
-    std::ignore = area;
 
     const auto radarTarget = this->RadarTargetSelectASEL();
     if (false == radarTarget.IsValid() || false == radarTarget.GetCorrelatedFlightPlan().IsValid())