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

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

Date: Sun Nov 11 15:32:56 CET 2007
User: Derick Rethans
Directory: xdebug

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

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

[FILE: /xdebug/xdebug_code_coverage.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- xdebug/xdebug_code_coverage.c:1.36 Mon Oct 29 17:59:27 2007 GMT
+++ xdebug/xdebug_code_coverage.c Sun Nov 11 13:32:56 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