mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
fixed warnings reported by cppcheck
This commit is contained in:
parent
3f153c20d3
commit
9d4e9c59de
10 changed files with 19 additions and 9 deletions
|
@ -90,6 +90,7 @@ DebugStack::DebugStack(threadid_t id)
|
|||
threadid = id;
|
||||
stack_i = 0;
|
||||
stack_max_i = 0;
|
||||
memset(stack, 0, DEBUG_STACK_SIZE*DEBUG_STACK_TEXT_SIZE);
|
||||
}
|
||||
|
||||
void DebugStack::print(FILE *file, bool everything)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue