You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2012/02/08 16:24:24 UTC

[2/3] git commit: Remove unused local variable

Remove unused local variable


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/1132994f
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/1132994f
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/1132994f

Branch: refs/heads/master
Commit: 1132994fa1cc31deace2c82df055635cf5396cf8
Parents: 9149e55
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Wed Feb 8 16:40:23 2012 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Wed Feb 8 17:24:19 2012 +0200

----------------------------------------------------------------------
 .../java/org/apache/wicket/MarkupContainer.java    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/1132994f/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java b/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java
index cf6cfbd..d005e15 100644
--- a/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java
+++ b/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java
@@ -1561,7 +1561,7 @@ public abstract class MarkupContainer extends Component implements Iterable<Comp
 			// Go back to where we were and move the markup stream forward to whatever the next
 			// element is.
 			markupStream.setCurrentIndex(index);
-			MarkupElement elem = markupStream.get();
+
 			if (rawMarkup)
 			{
 				markupStream.next();