X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fcall.c;h=a46fa4e325196c26edb2e06e9989facb81f5524d;hb=1124354f4666e9d10d9ad3acfa45fdba3b99cfc6;hp=ec9d49bed224ba8493b4e07491fbba83d52f07ce;hpb=f76cbab7698c988217d56a96f3ef68005cddd5ec;p=m6w6%2Fext-psi diff --git a/src/call.c b/src/call.c index ec9d49b..a46fa4e 100644 --- a/src/call.c +++ b/src/call.c @@ -23,7 +23,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *******************************************************************************/ -#include "php_psi_stdinc.h" +#ifdef HAVE_CONFIG_H +# include "config.h" +#else +# include "php_config.h" +#endif #include "context.h" #include "data.h" #include "call.h" @@ -472,6 +476,7 @@ void psi_call_frame_do_callback(struct psi_call_frame *frame, struct psi_call_fr rc = zend_fcall_info_call(&frame_arg->ival_ptr->zend.cb->fci, &frame_arg->ival_ptr->zend.cb->fcc, &return_value, NULL); assert(rc == SUCCESS); + (void) rc; /* marshal return value of the userland call */ frame_arg->zval_ptr = &return_value;