Index: trunk/wp-includes/post.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- trunk/wp-includes/post.php	(revision 21535)
+++ trunk/wp-includes/post.php	(revision )
@@ -4066,8 +4066,12 @@
  * @return string|bool
  */
 function wp_mime_type_icon( $mime = 0 ) {
+	$icon = null;
+	$post_id = null;
+
 	if ( !is_numeric($mime) )
 		$icon = wp_cache_get("mime_type_icon_$mime");
+
 	if ( empty($icon) ) {
 		$post_id = 0;
 		$post_mimes = array();
