dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3320c02
)
cleanup: variable referenced without initialization
author
Yuri Astrakhan
<yuriastrakhan@gmail.com>
Mon, 11 Mar 2013 03:19:45 +0000
(23:19 -0400)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 15 May 2013 00:43:00 +0000
(
00:43
+0000)
declared so that IDE knows how to use it and initialized
Change-Id: I4841fd3f03220f837c981951f07c1c21ddbd76af
img_auth.php
patch
|
blob
|
history
diff --git
a/img_auth.php
b/img_auth.php
index
667a40a
..
eba81f3
100644
(file)
--- 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;