From 81551c2692128884466c4bc7928cc5f408d43aee Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Sun, 10 Mar 2013 23:19:45 -0400 Subject: [PATCH] cleanup: variable referenced without initialization declared so that IDE knows how to use it and initialized Change-Id: I4841fd3f03220f837c981951f07c1c21ddbd76af --- img_auth.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/img_auth.php b/img_auth.php index 667a40a5a8..eba81f3c61 100644 --- a/img_auth.php +++ b/img_auth.php @@ -113,6 +113,8 @@ function wfImageAuthMain() { } // Run hook for extension authorization plugins + /** @var $result array */ + $result = null; if ( !wfRunHooks( 'ImgAuthBeforeStream', array( &$title, &$path, &$name, &$result ) ) ) { wfForbidden( $result[0], $result[1], array_slice( $result, 2 ) ); return; -- 2.20.1