diff --git a/src/armor_layers.cpp b/src/armor_layers.cpp index 502d382119b64..3c5867c15fdc1 100644 --- a/src/armor_layers.cpp +++ b/src/armor_layers.cpp @@ -62,6 +62,7 @@ std::string body_part_names( const std::vector &parts ) { if( parts.empty() ) { debugmsg( "Asked for names of empty list" ); + return {}; }