Fix release build warning
authorest31 <MTest31@outlook.com>
Fri, 8 May 2015 05:23:06 +0000 (07:23 +0200)
committerest31 <MTest31@outlook.com>
Fri, 8 May 2015 05:23:41 +0000 (07:23 +0200)
src/craftdef.cpp

index 6fc0ae934cc11e44a050da6245ebc0925f0cd131..8c0e91690d0ddf006c68349ac41f48ed6acbae64 100644 (file)
@@ -67,6 +67,7 @@ static u64 getHashForGrid(CraftHashType type, const std::vector<std::string> &gr
        }
        // invalid CraftHashType
        assert(false);
+       return 0;
 }
 
 // Check if input matches recipe