mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
fixed warnings reported by cppcheck
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user