com php-src: fix ZEND_DEBUG usage: phpdbg_watch.c
| From: | Anatol Belski | Date: | Fri, 25 Apr 2014 20:33:28 +0000 |
| Subject: | com php-src: fix ZEND_DEBUG usage: phpdbg_watch.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77149@lists.php.net to get a copy of this message | ||
Commit: cdb775906ddfd48fafc872eb905c01134599982a
Author: Anatol Belski <ab@php.net> Fri, 25 Apr 2014 22:33:28 +0200
Parents: 4350c894285449ff4b6ba9c26d60988b1a22cadf
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cdb775906ddfd48fafc872eb905c01134599982a
Log:
fix ZEND_DEBUG usage
Changed paths:
M phpdbg_watch.c
Diff:
diff --git a/phpdbg_watch.c b/phpdbg_watch.c
index 9ee580c..0359b5a 100644
--- a/phpdbg_watch.c
+++ b/phpdbg_watch.c
@@ -702,7 +702,7 @@ remove_ht_watch:
}
case WATCH_ON_HASHTABLE:
-#ifdef ZEND_DEBUG
+#if ZEND_DEBUG
if (watch->addr.ht->inconsistent) {
phpdbg_notice("Watchpoint %s was unset, removing watchpoint", watch->str);
zend_hash_del(&PHPDBG_G(watchpoints), watch->str, watch->str_len);