1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix some "Conditional jump or move depends on uninitialised value(s)" valgrind detections

This commit is contained in:
Perttu Ahola 2011-10-15 23:07:43 +03:00
parent fd6452749e
commit 825953bbdc
2 changed files with 4 additions and 2 deletions

View file

@ -492,10 +492,10 @@ void updateFastFaceRow(
u16 continuous_tiles_count = 0;
bool makes_face;
bool makes_face = false;
v3s16 p_corrected;
v3s16 face_dir_corrected;
u8 lights[4];
u8 lights[4] = {0,0,0,0};
TileSpec tile;
getTileInfo(blockpos_nodes, p, face_dir, daynight_ratio,
vmanip, temp_mods, smooth_lighting,