Fixed compilation warnings on Mono 3.4.0

This commit is contained in:
thefiddler 2014-07-21 17:55:12 +02:00
parent d739085cca
commit 4bde589225
2 changed files with 0 additions and 6 deletions

View file

@ -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
{ {

View file

@ -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);