coverity suggested corrections - removed dead local store

This commit is contained in:
Jeremy Long
2016-08-23 19:24:25 -04:00
parent 36c139872a
commit 34765c5741

View File

@@ -128,7 +128,6 @@ public class SwiftPackageManagerAnalyzer extends AbstractFileTypeAnalyzer {
}
final Matcher matcher = SPM_BLOCK_PATTERN.matcher(contents);
if (matcher.find()) {
contents = contents.substring(matcher.end());
final String packageDescription = matcher.group(1);
if (packageDescription.isEmpty()) {
return;