mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix compiler warnings
This commit is contained in:
parent
3a87fab6c8
commit
5683bb76cc
9 changed files with 44 additions and 51 deletions
|
@ -564,6 +564,8 @@ void ClientLauncher::speed_tests()
|
|||
// volatile to avoid some potential compiler optimisations
|
||||
volatile static s16 temp16;
|
||||
volatile static f32 tempf;
|
||||
// Silence compiler warning
|
||||
(void)temp16;
|
||||
static v3f tempv3f1;
|
||||
static v3f tempv3f2;
|
||||
static std::string tempstring;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue