From 0437f85ea8b1886b0c48122be386a7feb36c0933 Mon Sep 17 00:00:00 2001 From: Kyle Kneitinger Date: Tue, 1 Dec 2020 10:28:43 -0800 Subject: [PATCH] Remove duplicate wrapper boilerplate/FW check --- agent/fw_lumen.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/agent/fw_lumen.c b/agent/fw_lumen.c index 3205a2a93..96e1907f0 100644 --- a/agent/fw_lumen.c +++ b/agent/fw_lumen.c @@ -145,6 +145,7 @@ NR_PHP_WRAPPER(nr_lumen_exception) { (void)wraprec; NR_PHP_WRAPPER_REQUIRE_FRAMEWORK(NR_FW_LUMEN); + #if ZEND_MODULE_API_NO >= ZEND_5_4_X_API_NO const char* class_name = NULL; const char* ignored = NULL; @@ -155,10 +156,6 @@ NR_PHP_WRAPPER(nr_lumen_exception) { char* name = NULL; - NR_UNUSED_SPECIALFN; - (void)wraprec; - - NR_PHP_WRAPPER_REQUIRE_FRAMEWORK(NR_FW_LUMEN); /* * When the exception handler renders the response, name the transaction