File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -531,6 +531,7 @@ u64 CraftDefinitionShaped::getHash(CraftHashType type) const
531
531
} else {
532
532
// illegal hash type for this CraftDefinition (pre-condition)
533
533
assert (false );
534
+ return 0 ;
534
535
}
535
536
}
536
537
@@ -676,6 +677,7 @@ u64 CraftDefinitionShapeless::getHash(CraftHashType type) const
676
677
} else {
677
678
// illegal hash type for this CraftDefinition (pre-condition)
678
679
assert (false );
680
+ return 0 ;
679
681
}
680
682
}
681
683
@@ -902,6 +904,7 @@ u64 CraftDefinitionCooking::getHash(CraftHashType type) const
902
904
} else {
903
905
// illegal hash type for this CraftDefinition (pre-condition)
904
906
assert (false );
907
+ return 0 ;
905
908
}
906
909
}
907
910
@@ -1011,6 +1014,7 @@ u64 CraftDefinitionFuel::getHash(CraftHashType type) const
1011
1014
} else {
1012
1015
// illegal hash type for this CraftDefinition (pre-condition)
1013
1016
assert (false );
1017
+ return 0 ;
1014
1018
}
1015
1019
}
1016
1020
You can’t perform that action at this time.
0 commit comments