* Set the address, if none given, give the node here. */
| 3843 | * Set the address, if none given, give the node here. |
| 3844 | */ |
| 3845 | void |
| 3846 | ng_replace_retaddr(node_p here, item_p item, ng_ID_t retaddr) |
| 3847 | { |
| 3848 | if (retaddr) { |
| 3849 | NGI_RETADDR(item) = retaddr; |
| 3850 | } else { |
| 3851 | /* |
| 3852 | * The old return address should be ok. |
| 3853 | * If there isn't one, use the address here. |
| 3854 | */ |
| 3855 | NGI_RETADDR(item) = ng_node2ID(here); |
| 3856 | } |
| 3857 | } |
nothing calls this directly
no test coverage detected