From: Yuri Astrakhan Date: Mon, 11 Mar 2013 03:19:45 +0000 (-0400) Subject: cleanup: variable referenced without initialization X-Git-Tag: 1.31.0-rc.0~19677 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=81551c2692128884466c4bc7928cc5f408d43aee;p=lhc%2Fweb%2Fwiklou.git cleanup: variable referenced without initialization declared so that IDE knows how to use it and initialized Change-Id: I4841fd3f03220f837c981951f07c1c21ddbd76af --- 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;