Skip to content
Snippets Groups Projects
Commit 825953bb authored by Perttu Ahola's avatar Perttu Ahola
Browse files

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

parent fd645274
Branches
Tags
No related merge requests found
......@@ -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,
......
......@@ -31,7 +31,9 @@ Player::Player():
touching_ground(false),
in_water(false),
in_water_stable(false),
is_climbing(false),
swimming_up(false),
is_frozen(false),
inventory_backup(NULL),
craftresult_is_preview(true),
hp(20),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment