From d59e46bbc3b74b60899aaeb8590d1bbb9e141f7d Mon Sep 17 00:00:00 2001 From: triton Date: Wed, 14 Aug 2013 00:19:58 +0100 Subject: [PATCH] Removed useless code. --- src/Generator/Generators/CSharp/CSharpTextTemplate.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs index 387e8039..4e0b88ad 100644 --- a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs +++ b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs @@ -781,13 +781,10 @@ namespace CppSharp.Generators.CSharp WriteLine("get"); WriteStartBraceIndent(); - var @return = string.Empty; - if (decl is Function) { var function = decl as Function; GenerateInternalFunctionCall(function); - @return = "ret"; } else if (decl is Field) {