From 6d2ce7b8a980a754bca86be92beadb59b0c5a060 Mon Sep 17 00:00:00 2001 From: Quietust Date: Wed, 11 Jan 2012 10:50:38 -0600 Subject: [PATCH] Add default return value to MaterialInfo::matches --- library/modules/Materials.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/library/modules/Materials.cpp b/library/modules/Materials.cpp index cc9102ae5..2682f57bf 100644 --- a/library/modules/Materials.cpp +++ b/library/modules/Materials.cpp @@ -355,6 +355,7 @@ bool MaterialInfo::matches(const df::dfhack_material_category &cat) TEST(glass, IS_GLASS); if (cat.bits.clay && linear_index(material->reaction_product.id, std::string("FIRED_MAT")) >= 0) return true; + return false; } #undef TEST