| 124 | } |
| 125 | |
| 126 | static void DeleteLuaProfilerScopeState(LuaProfilerScopeState* delete_state) |
| 127 | { |
| 128 | LuaProfilerScopeState** state_ptr = &g_LuaProfilerScopeStates; |
| 129 | while (*state_ptr != 0) |
| 130 | { |
| 131 | LuaProfilerScopeState* state = *state_ptr; |
| 132 | if (state == delete_state) |
| 133 | { |
| 134 | *state_ptr = state->m_Next; |
| 135 | delete state; |
| 136 | return; |
| 137 | } |
| 138 | state_ptr = &state->m_Next; |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | static void DeleteLuaProfilerScopeStates() |
| 143 | { |
no outgoing calls
no test coverage detected