avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject [2/2] avro git commit: warning CS0219: The variable `fieldRef' is assigned but its value is never used
Date Fri, 28 Apr 2017 00:56:31 GMT
warning CS0219: The variable `fieldRef' is assigned but its value is never used

This closes #213

Signed-off-by: sacharya <suraj@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/avro/repo
Commit: http://git-wip-us.apache.org/repos/asf/avro/commit/17f2d751
Tree: http://git-wip-us.apache.org/repos/asf/avro/tree/17f2d751
Diff: http://git-wip-us.apache.org/repos/asf/avro/diff/17f2d751

Branch: refs/heads/master
Commit: 17f2d75132021fafeca29edbdcade40df960fdc9
Parents: fc3d582
Author: Shinsuke Sugita <shinsuke.sugita@drecom.co.jp>
Authored: Thu Apr 13 20:43:13 2017 +0900
Committer: sacharya <suraj@apache.org>
Committed: Thu Apr 27 19:55:57 2017 -0500

----------------------------------------------------------------------
 lang/csharp/src/apache/main/CodeGen/CodeGen.cs | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/avro/blob/17f2d751/lang/csharp/src/apache/main/CodeGen/CodeGen.cs
----------------------------------------------------------------------
diff --git a/lang/csharp/src/apache/main/CodeGen/CodeGen.cs b/lang/csharp/src/apache/main/CodeGen/CodeGen.cs
index 1f51c42..aa31920 100644
--- a/lang/csharp/src/apache/main/CodeGen/CodeGen.cs
+++ b/lang/csharp/src/apache/main/CodeGen/CodeGen.cs
@@ -272,7 +272,6 @@ namespace Avro
             ctd.Members.Add(codeField);
 
             // Add Size property
-            var fieldRef = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(),
sizefname);
             var property = new CodeMemberProperty();
             property.Attributes = MemberAttributes.Public | MemberAttributes.Static;
             property.Name = "FixedSize";


Mime
View raw message