Jenkins-1424: fixed error which misses report of logical combination under

vacuous input.
This commit is contained in:
Chang, Harry 2018-10-31 11:00:11 +08:00
parent 62dfd48d53
commit acffc9d36c

View File

@ -445,6 +445,7 @@ done_scan:
scratch); scratch);
} }
set_retval:
if (rose->flushCombProgramOffset) { if (rose->flushCombProgramOffset) {
if (roseRunFlushCombProgram(rose, scratch, ~0ULL) == MO_HALT_MATCHING) { if (roseRunFlushCombProgram(rose, scratch, ~0ULL) == MO_HALT_MATCHING) {
unmarkScratchInUse(scratch); unmarkScratchInUse(scratch);
@ -452,7 +453,6 @@ done_scan:
} }
} }
set_retval:
DEBUG_PRINTF("done. told_to_stop_matching=%d\n", DEBUG_PRINTF("done. told_to_stop_matching=%d\n",
told_to_stop_matching(scratch)); told_to_stop_matching(scratch));
hs_error_t rv = told_to_stop_matching(scratch) ? HS_SCAN_TERMINATED hs_error_t rv = told_to_stop_matching(scratch) ? HS_SCAN_TERMINATED