Browse Source

add the ignore for used parameters

Sven Czarnian 3 years ago
parent
commit
95493674e8
1 changed files with 2 additions and 2 deletions
  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())