Suppressed unused function parameter warning

This commit is contained in:
Pavel Penev
2023-10-06 15:31:47 +03:00
committed by Matthias Mailänder
parent 4e72026ff9
commit c0f3f97811

View File

@@ -69,8 +69,10 @@ namespace OpenRA.Mods.Common.UtilityCommands
static void WriteDiagnosticsDisabling()
{
Console.WriteLine("--- This file only lists function \"signatures\", causing Lua Diagnostics errors: \"Annotations specify that a return value is required here.\"");
Console.WriteLine("--- Disable that specific error for the entire file.");
Console.WriteLine("--- and Lua Diagnostics warnings \"Unused local\" for the functions' parameters.");
Console.WriteLine("--- Disable those specific errors for the entire file.");
Console.WriteLine("---@diagnostic disable: missing-return");
Console.WriteLine("---@diagnostic disable: unused-local");
}
static void WriteManual()