! \brief * Updates PATH of an already appended branch */
| 395 | * Updates PATH of an already appended branch |
| 396 | */ |
| 397 | int update_msg_branch_q(unsigned int idx, int val) |
| 398 | { |
| 399 | struct dset_ctx *dsct = get_dset_ctx(); |
| 400 | struct msg_branch_wrap *br; |
| 401 | |
| 402 | if (!dsct || !dsct->enabled || idx >= dsct->nr_branches) |
| 403 | return -1; |
| 404 | |
| 405 | br = dsct->branches + idx; |
| 406 | |
| 407 | br->branch.q = val; |
| 408 | return 0; |
| 409 | } |
| 410 | |
| 411 | |
| 412 | /* ! \brief |
no outgoing calls
no test coverage detected