Skip to content
Permalink
Browse files

Silence GCC warning in mapblock_mesh

Fixes following warning:
  warning: ‘waving’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  • Loading branch information
SmallJoker committed May 25, 2020
1 parent 212a112 commit 5311a275235d2132443643199330953c877b794a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/client/mapblock_mesh.cpp
@@ -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

0 comments on commit 5311a27

Please sign in to comment.
You can’t perform that action at this time.