[xdebug-dev] xdebug xdebug/xdebug_code_coverage.c - MFH: Change the if() in case the value is uninitialized.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Sun, 11 Nov 2007 15:33:24 +0100

Date: Sun Nov 11 15:33:24 CET 2007
User: Derick Rethans
Directory: xdebug

Log Message:
[0.05]
- MFH: Change the if() in case the value is uninitialized.

Modified files:
           xdebug/xdebug_code_coverage.c (version: 1.32.2.5)

[FILE: /xdebug/xdebug_code_coverage.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.32.2.4
retrieving revision 1.32.2.5
diff -u -r1.32.2.4 -r1.32.2.5
--- xdebug/xdebug_code_coverage.c:1.32.2.4 Mon Oct 29 17:59:55 2007 GMT
+++ xdebug/xdebug_code_coverage.c Sun Nov 11 13:33:24 2007 GMT
@@ -304,7 +304,7 @@
 
 void xdebug_prefill_code_coverage(zend_op_array *op_array TSRMLS_DC)
 {
- if (op_array->reserved[XG(reserved_offset)] == 0) {
+ if (op_array->reserved[XG(reserved_offset)] != 1) {
                 prefill_from_oparray(op_array->filename, op_array TSRMLS_CC);
         }
 
Received on Sun Nov 11 2007 - 15:46:56 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST