Skip to content

Commit 060432c

Browse files
committed
Remove some dead code.
1 parent daef434 commit 060432c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Generator/Generators/C/CppSources.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ public override void GeneratePropertyGetter(Method method)
238238
{
239239
PushBlock(BlockKind.Method, method);
240240

241-
var property = method.AssociatedDeclaration as Property;
242241
GeneratePropertyAccessorSpecifier(method);
243242
NewLine();
244243

@@ -256,7 +255,6 @@ public override void GeneratePropertySetter(Method method)
256255
{
257256
PushBlock(BlockKind.Method, method);
258257

259-
var property = method.AssociatedDeclaration as Property;
260258
GeneratePropertyAccessorSpecifier(method);
261259
NewLine();
262260

@@ -507,8 +505,6 @@ public void GenerateFunctionCall(Function function)
507505

508506
if (needsReturn)
509507
{
510-
var retTypeName = function.ReturnType.Visit(CTypePrinter).ToString();
511-
512508
var ctx = new MarshalContext(Context, CurrentIndentation)
513509
{
514510
ArgName = Helpers.ReturnIdentifier,

0 commit comments

Comments
 (0)