mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Silence GCC warning in mapblock_mesh
Fixes following warning: warning: ‘waving’ may be used uninitialized in this function [-Wmaybe-uninitialized]
This commit is contained in:
@@ -888,7 +888,7 @@ static void updateFastFaceRow(
|
||||
v3s16 p_corrected;
|
||||
v3s16 face_dir_corrected;
|
||||
u16 lights[4] = {0, 0, 0, 0};
|
||||
u8 waving;
|
||||
u8 waving = 0;
|
||||
TileSpec tile;
|
||||
|
||||
// Get info of first tile
|
||||
|
Reference in New Issue
Block a user