com php-src: Mark zend_jit_print_regset as unused: ext/opcache/jit/zend_jit.c

From: Date: Thu, 11 Apr 2019 09:05:42 +0000
Subject: com php-src: Mark zend_jit_print_regset as unused: ext/opcache/jit/zend_jit.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-105636@lists.php.net to get a copy of this message
Commit: d31104faccd8b702cc6c7a365eb70a4ab81d9498 Author: Nikita Popov <nikita.ppv@gmail.com> Thu, 11 Apr 2019 11:05:42 +0200 Parents: 0351552e1eb4b71360dd2f0c77e7aa1942f8346d Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d31104faccd8b702cc6c7a365eb70a4ab81d9498 Log: 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. Changed paths: M ext/opcache/jit/zend_jit.c Diff: diff --git a/ext/opcache/jit/zend_jit.c b/ext/opcache/jit/zend_jit.c index b0940c9..0472cc5 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;

« previous php.cvs (#105636) next »