Removed redundant literal variable name specifier.

This commit is contained in:
Jarl Gullberg 2017-07-20 17:31:36 +02:00
parent 8dcb252dc9
commit f77734ae60
No known key found for this signature in database
GPG key ID: FBB69BD7CAE095A0

View file

@ -450,11 +450,11 @@ namespace OpenTK.Convert
var words = ret.Split(" ".ToCharArray(), StringSplitOptions.RemoveEmptyEntries); var words = ret.Split(" ".ToCharArray(), StringSplitOptions.RemoveEmptyEntries);
if (words[0] == "struct" || words[0] == "const") if (words[0] == "struct" || words[0] == "const")
{ {
words[1] = @group.Value; words[1] = group.Value;
} }
else else
{ {
words[0] = @group.Value; words[0] = group.Value;
} }
ret = String.Join(" ", words); ret = String.Join(" ", words);