1
0
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:
Perttu Ahola
2011-04-11 11:36:13 +03:00
parent 3f153c20d3
commit 9d4e9c59de
10 changed files with 19 additions and 9 deletions

View File

@@ -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)