mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-12 23:37:38 +02:00
Added TODO
This commit is contained in:
parent
384a5ce0fe
commit
93be85a1ee
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ void Cyc_st_init() {
|
|||
}
|
||||
|
||||
void Cyc_st_add(char *frame) {
|
||||
/* add to circ buf */
|
||||
// TODO: do not add if (idx - 1) == frame, since that causes recursion to remove older frames
|
||||
Cyc_Stack_Traces[Cyc_Stack_Trace_Idx] = frame;
|
||||
Cyc_Stack_Trace_Idx = (Cyc_Stack_Trace_Idx + 1) % MAX_STACK_TRACES;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue