From a58285fd06c8113c45377c655dd43cef6337e815 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 11 Jan 2007 19:06:07 +0000 Subject: Aktualisierung auf MediaWiki 1.9.0 --- includes/cbt/CBTCompiler.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'includes/cbt/CBTCompiler.php') diff --git a/includes/cbt/CBTCompiler.php b/includes/cbt/CBTCompiler.php index 4ef8ee4a..59088bed 100644 --- a/includes/cbt/CBTCompiler.php +++ b/includes/cbt/CBTCompiler.php @@ -75,7 +75,6 @@ class CBTCompiler { * Returns true on success, error message on failure */ function compile() { - $fname = 'CBTProcessor::compile'; $this->mLastError = false; $this->mOps = array(); @@ -222,7 +221,6 @@ class CBTCompiler { if ( $char == '{' ) { // Switch to text mode ++$p; - $tokenStart = $p; $this->doOpenText( $p, $end ); ++$argCount; } elseif ( $char == '}' ) { @@ -292,7 +290,7 @@ class CBTCompiler { wfProfileIn( $fname ); $stack = array(); - foreach( $this->mOps as $index => $op ) { + foreach( $this->mOps as $op ) { switch( $op->opcode ) { case CBT_PUSH: $stack[] = $this->phpQuote( $op->arg1 ); -- cgit v1.2.3-54-g00ecf