mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 12:15:37 +00:00
Fixed compilation warnings on Mono 3.4.0
This commit is contained in:
parent
d739085cca
commit
4bde589225
|
@ -198,10 +198,6 @@ namespace CHeaderToXML
|
||||||
|
|
||||||
var parameters_string = Regex.Match(line, @"\(.*\)").Captures[0].Value.TrimStart('(').TrimEnd(')');
|
var parameters_string = Regex.Match(line, @"\(.*\)").Captures[0].Value.TrimStart('(').TrimEnd(')');
|
||||||
|
|
||||||
var parameters =
|
|
||||||
(from item in get_param.Matches(parameters_string).OfType<Match>()
|
|
||||||
select item.Captures[0].Value.TrimEnd(',')).ToList();
|
|
||||||
|
|
||||||
var fun =
|
var fun =
|
||||||
new
|
new
|
||||||
{
|
{
|
||||||
|
|
|
@ -146,8 +146,6 @@ namespace CHeaderToXML
|
||||||
.Concat(groups)
|
.Concat(groups)
|
||||||
.OrderBy(f => TrimName(f.Attribute("name").Value)))
|
.OrderBy(f => TrimName(f.Attribute("name").Value)))
|
||||||
{
|
{
|
||||||
var category = TrimName(feature.Attribute("name").Value);
|
|
||||||
var extension = feature.Name == "extension" ? category.Substring(0, category.IndexOf("_")) : "Core";
|
|
||||||
var version = feature.Attribute("number") != null ? feature.Attribute("number").Value : null;
|
var version = feature.Attribute("number") != null ? feature.Attribute("number").Value : null;
|
||||||
var apinames = GetApiNames(feature);
|
var apinames = GetApiNames(feature);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue