Remove two "Dead store to local variable" warnings

Change-Id: I950de82db15c4610dc5a94f304279971daef971e
This commit is contained in:
Robin Stocker 2010-10-29 14:32:55 +02:00
parent 7f939ba86e
commit 3f78650c9a
2 changed files with 1 additions and 2 deletions

View File

@ -517,7 +517,6 @@ void processEntry(AbstractTreeIterator h, AbstractTreeIterator m,
conflict(name, (i != null) ? i.getDirCacheEntry() : null, h, m);
break;
case 0xFDF: // 7 8 9
dce = i.getDirCacheEntry();
if (hId.equals(mId)) {
if (isModified(name))
conflict(name, i.getDirCacheEntry(), h, m); // 8

View File

@ -148,7 +148,7 @@ public FileHeader(final byte[] headerLines, EditList edits, PatchType type) {
this(headerLines, 0);
endOffset = headerLines.length;
int ptr = parseGitFileName(Patch.DIFF_GIT.length, headerLines.length);
ptr = parseGitHeaders(ptr, headerLines.length);
parseGitHeaders(ptr, headerLines.length);
this.patchType = type;
addHunk(new HunkHeader(this, edits));
}