stop undefined variable notices
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 7 Dec 2009 16:50:36 +0000 (16:50 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 7 Dec 2009 16:50:36 +0000 (16:50 +0000)
includes/Profiler.php

index 4046a58..9bd9e9a 100644 (file)
@@ -259,6 +259,7 @@ class Profiler {
                wfProfileOut( '-overhead-total' );
 
                # First, subtract the overhead!
+               $overheadTotal = $overheadMemory = $overheadInternal = array();
                foreach( $this->mStack as $entry ){
                        $fname = $entry[0];
                        $start = $entry[2];