Fix -Wunused-variable warning in PHP wrappers

Unused variables removed following on from 17a294cec4
This commit is contained in:
William S Fulton 2025-06-21 18:35:57 +01:00
parent 91bcdae967
commit 9df911b907
1 changed files with 0 additions and 3 deletions

View File

@ -40,9 +40,6 @@ extern "C" {
#define SWIG_fail goto fail
static const char *default_error_msg = "Unknown error occurred";
static int default_error_code = E_ERROR;
#define SWIG_PHP_Arg_Error_Msg(argnum,extramsg) "Error in argument " #argnum " "#extramsg
#define SWIG_PHP_Error(code,msg) do { zend_throw_exception(NULL, msg, code); SWIG_fail; } while (0)