Cleanup warnings: CS8321, CS0105, CS0168 (#36949)

* Clean up

* CS0168
This commit is contained in:
B_Kirill
2025-05-08 10:01:02 +10:00
committed by GitHub
parent c196538aaf
commit b3c4c7c32b
3 changed files with 3 additions and 2 deletions

View File

@@ -217,6 +217,7 @@ namespace Content.Server.Entry
Load(CCVars.ConfigPresetDebug, "debug");
#endif
#pragma warning disable CS8321
void Load(CVarDef<bool> cVar, string name)
{
var path = $"{ConfigPresetsDirBuild}{name}.toml";
@@ -226,6 +227,7 @@ namespace Content.Server.Entry
sawmill.Info("Loaded config preset: {Preset}", path);
}
}
#pragma warning restore CS8321
}
}
}