From: Nils Dagsson Moskopp Date: Tue, 19 Jul 2011 00:02:50 +0000 (+0200) Subject: * initialize liquid_kind properly so compiler does not bitch about it X-Git-Tag: 0.2.20110731_3~50^2~22 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=57fcfb2b0d90f14b89f9844c8b59bcaa7bb86b85;p=oweals%2Fminetest.git * initialize liquid_kind properly so compiler does not bitch about it --- diff --git a/src/map.cpp b/src/map.cpp index cf8692bff..aa064637f 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1575,7 +1575,7 @@ void Map::transformLiquids(core::map & modified_blocks) Collect information about current node */ s8 liquid_level = -1; - u8 liquid_kind; + u8 liquid_kind = CONTENT_IGNORE; LiquidType liquid_type = content_features(n0.d).liquid_type; switch (liquid_type) { case LIQUID_SOURCE: