avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject [1/2] avro git commit: warning CS0219: The variable `es' is assigned but its value is never used
Date Fri, 28 Apr 2017 00:56:30 GMT
Repository: avro
Updated Branches:
  refs/heads/master 4b3677c32 -> 17f2d7513


warning CS0219: The variable `es' is assigned but its value is never used

This closes #212

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/fc3d5826
Tree: http://git-wip-us.apache.org/repos/asf/avro/tree/fc3d5826
Diff: http://git-wip-us.apache.org/repos/asf/avro/diff/fc3d5826

Branch: refs/heads/master
Commit: fc3d582617c027f6215f92f8bcdf1bd55f9310aa
Parents: 4b3677c
Author: Shinsuke Sugita <shinsuke.sugita@drecom.co.jp>
Authored: Thu Apr 13 20:41:50 2017 +0900
Committer: sacharya <suraj@apache.org>
Committed: Thu Apr 27 19:54:50 2017 -0500

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


http://git-wip-us.apache.org/repos/asf/avro/blob/fc3d5826/lang/csharp/src/apache/main/Generic/GenericReader.cs
----------------------------------------------------------------------
diff --git a/lang/csharp/src/apache/main/Generic/GenericReader.cs b/lang/csharp/src/apache/main/Generic/GenericReader.cs
index 76796a7..d57c6c2 100644
--- a/lang/csharp/src/apache/main/Generic/GenericReader.cs
+++ b/lang/csharp/src/apache/main/Generic/GenericReader.cs
@@ -324,7 +324,6 @@ namespace Avro.Generic
         /// <returns>An enum object.</returns>
         protected virtual object ReadEnum(object reuse, EnumSchema writerSchema, Schema readerSchema,
Decoder d)
         {
-            EnumSchema es = readerSchema as EnumSchema;
             return CreateEnum(reuse, readerSchema as EnumSchema, writerSchema[d.ReadEnum()]);
         }
 


Mime
View raw message