| 717 | // |
| 718 | |
| 719 | static void cmp_fetch( act* action) |
| 720 | { |
| 721 | gpre_nod* list = (gpre_nod*) action->act_object; |
| 722 | if (!list) |
| 723 | return; |
| 724 | |
| 725 | if (list->nod_type != nod_list) |
| 726 | CPR_error("invalid fetch action"); |
| 727 | |
| 728 | gpre_nod** ptr = list->nod_arg; |
| 729 | for (const gpre_nod* const* const end = ptr + list->nod_count; ptr < end; ptr++) |
| 730 | { |
| 731 | ref* var = (ref*) *ptr; |
| 732 | if (var->ref_null_value && !var->ref_null) |
| 733 | { |
| 734 | if (var->ref_friend) |
| 735 | var->ref_null = var->ref_friend->ref_null; |
| 736 | } |
| 737 | } |
| 738 | } |
| 739 | |
| 740 | |
| 741 | //____________________________________________________________ |
no test coverage detected