From 8f424195e0ca1bd27c5d711f74d9357cd4a1a4bc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 22 Jun 2020 12:47:43 +0200 Subject: [PATCH] fix unused variables --- pdlib.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pdlib.cc b/pdlib.cc index 76bf514..b2afe4c 100644 --- a/pdlib.cc +++ b/pdlib.cc @@ -38,9 +38,6 @@ extern "C" { ZEND_DECLARE_MODULE_GLOBALS(pdlib) */ -/* True global resources - no need for thread safety here */ -static int le_pdlib; - static zend_class_entry *cnn_face_detection_ce = nullptr; static zend_object_handlers cnn_face_detection_obj_handlers; @@ -70,7 +67,7 @@ PHP_INI_END() PHP_FUNCTION(confirm_pdlib_compiled) { char *arg = NULL; - size_t arg_len, len; + size_t arg_len; zend_string *strg; if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &arg, &arg_len) == FAILURE) {