| 4200 | |
| 4201 | |
| 4202 | void Script::RemoveLabel(Label *aLabel) |
| 4203 | // Remove a label from the linked list. |
| 4204 | // Used by DefineFunc to implement hotkey/hotstring functions. |
| 4205 | { |
| 4206 | if (aLabel->mPrevLabel) |
| 4207 | aLabel->mPrevLabel->mNextLabel = aLabel->mNextLabel; |
| 4208 | else |
| 4209 | mFirstLabel = aLabel->mNextLabel; |
| 4210 | if (aLabel->mNextLabel) |
| 4211 | aLabel->mNextLabel->mPrevLabel = aLabel->mPrevLabel; |
| 4212 | else |
| 4213 | mLastLabel = aLabel->mPrevLabel; |
| 4214 | } |
| 4215 | |
| 4216 | |
| 4217 |
nothing calls this directly
no outgoing calls
no test coverage detected