Index: rewrite.php
===================================================================
--- rewrite.php	(revision 21603)
+++ rewrite.php	(working copy)
@@ -615,7 +615,7 @@
 	 * @access private
 	 * @var array
 	 */
-	var $endpoints;
+	var $endpoints = array();
 
 	/**
 	 * Whether to write every mod_rewrite rule for WordPress into the .htaccess file.
@@ -1957,7 +1957,7 @@
 	 * @access public
 	 */
 	function init() {
-		$this->extra_rules = $this->non_wp_rules = $this->endpoints = array();
+		$this->extra_rules = $this->non_wp_rules = array();
 		$this->permalink_structure = get_option('permalink_structure');
 		$this->front = substr($this->permalink_structure, 0, strpos($this->permalink_structure, '%'));
 		$this->root = '';
