| 419 | } |
| 420 | |
| 421 | int clear_bit(unsigned long* context, int value) |
| 422 | { |
| 423 | int retVal = -1; |
| 424 | |
| 425 | if (context != nullptr) |
| 426 | { |
| 427 | if (value > 0) |
| 428 | { |
| 429 | *context &= ~(1 << (value - 1)); |
| 430 | retVal = value; |
| 431 | } |
| 432 | else |
| 433 | { |
| 434 | retVal = 0; |
| 435 | } |
| 436 | } |
| 437 | else |
| 438 | { |
| 439 | retVal = -1; |
| 440 | } |
| 441 | |
| 442 | return retVal; |
| 443 | } |
| 444 | |
| 445 | /* code checked */ |
| 446 | static void rtpstream_free_taskinfo(taskentry_t* taskinfo) |
nothing calls this directly
no outgoing calls
no test coverage detected