mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Get rid of all the string format warnings caused by the DSTACK macro
This commit is contained in:
@@ -169,7 +169,10 @@ private:
|
||||
bool m_overflowed;
|
||||
};
|
||||
|
||||
#define DSTACK(...)\
|
||||
#define DSTACK(msg)\
|
||||
DebugStacker __debug_stacker(msg);
|
||||
|
||||
#define DSTACKF(...)\
|
||||
char __buf[DEBUG_STACK_TEXT_SIZE];\
|
||||
snprintf(__buf,\
|
||||
DEBUG_STACK_TEXT_SIZE, __VA_ARGS__);\
|
||||
|
Reference in New Issue
Block a user