Changeset 201 in svn


Ignore:
Timestamp:
2006-09-29T11:04:28Z (9 years ago)
Author:
Xuefer
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.