From: Loïc Blot Date: Thu, 27 Jul 2017 14:55:32 +0000 (+0200) Subject: Fix a warning introduced by 4eb59aeeb2f2b535f4eb2a1608189bb03098454e X-Git-Tag: 5.0.0~991 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2015aaba96bdc6a95448e942b6a007d6ed3cddae;p=oweals%2Fminetest.git Fix a warning introduced by 4eb59aeeb2f2b535f4eb2a1608189bb03098454e --- diff --git a/src/mapblock.cpp b/src/mapblock.cpp index 1a94857af..ca5894794 100644 --- a/src/mapblock.cpp +++ b/src/mapblock.cpp @@ -367,7 +367,7 @@ void MapBlock::actuallyUpdateDayNightDiff() Check if any lighting value differs */ - MapNode previous_n; + MapNode previous_n(CONTENT_IGNORE); for (u32 i = 0; i < nodecount; i++) { MapNode n = data[i];