Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbevain <jbevain@gmail.com>2011-04-04 16:25:00 +0400
committerjbevain <jbevain@gmail.com>2011-04-04 16:25:00 +0400
commit2a13db75f167aba2f112481f93f842be028ddb57 (patch)
tree1dc4d6e28940eac0d7dd38c55c8691525961602d /Mono.Cecil.PE
parent20cdded84193f862b5a7b9813abf6443f19c59a9 (diff)
Remove unecessary variable
Diffstat (limited to 'Mono.Cecil.PE')
-rw-r--r--Mono.Cecil.PE/ImageReader.cs8
1 files changed, 3 insertions, 5 deletions
diff --git a/Mono.Cecil.PE/ImageReader.cs b/Mono.Cecil.PE/ImageReader.cs
index acf2f91..9a8f278 100644
--- a/Mono.Cecil.PE/ImageReader.cs
+++ b/Mono.Cecil.PE/ImageReader.cs
@@ -658,12 +658,10 @@ namespace Mono.Cecil.PE {
throw new NotSupportedException ();
}
- int index = (int) table;
+ tables [i].RowSize = (uint) size;
+ tables [i].Offset = offset;
- tables [index].RowSize = (uint) size;
- tables [index].Offset = offset;
-
- offset += (uint) size * tables [index].Length;
+ offset += (uint) size * tables [i].Length;
}
}