Changeset 201


Ignore:
Timestamp:
2006-09-29T13:04:28+02:00 (8 years ago)
Author:
moo
Message:

coverager: avoid crash when upstream failed to compile file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coverager.c

    r176 r201  
    351351 
    352352    op_array = origin_compile_file(h, type TSRMLS_CC); 
    353     if (XG(coveragedumper) && XG(coverages)) { 
     353    if (XG(coveragedumper) && XG(coverages) && op_array) { 
    354354        xc_coverager_init_compile_result(op_array TSRMLS_CC); 
    355355    } 
Note: See TracChangeset for help on using the changeset viewer.