From: Nikita Popov Date: Thu, 11 Apr 2019 09:05:42 +0000 (+0200) Subject: Mark zend_jit_print_regset as unused X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d31104faccd8b702cc6c7a365eb70a4ab81d9498;p=php Mark zend_jit_print_regset as unused This is a debugging function, so it's usually not going to be used and we don't want to see a warning about that. --- diff --git a/ext/opcache/jit/zend_jit.c b/ext/opcache/jit/zend_jit.c index b0940c9ca9..0472cc505f 100644 --- a/ext/opcache/jit/zend_jit.c +++ b/ext/opcache/jit/zend_jit.c @@ -905,7 +905,7 @@ static zend_lifetime_interval *zend_jit_sort_intervals(zend_lifetime_interval ** return list; } -static void zend_jit_print_regset(zend_regset regset) +static ZEND_ATTRIBUTE_UNUSED void zend_jit_print_regset(zend_regset regset) { zend_reg reg; int first = 1;