Remove PHP-specific avoidance of uninitialised variable

This code is no longer needed since
ebd37155a8 addressed this more
generically.
This commit is contained in:
Olly Betts 2019-02-10 13:58:07 +13:00
commit a0720885bd

View file

@ -77,18 +77,12 @@
%{
if (!EG(exception)) {
CONVERT_IN($result, $1_ltype, *$input);
} else {
typedef $1_ltype swig_result_typedef;
$result = swig_result_typedef();
}
%}
%typemap(directorout) const TYPE & ($*1_ltype temp)
%{
if (!EG(exception)) {
CONVERT_IN(temp, $*1_ltype, *$input);
} else {
typedef $*1_ltype swig_result_typedef;
temp = swig_result_typedef();
}
$result = &temp;
%}