mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-22 09:09:31 +01:00
coverity suggested corrections - removed dead local store
This commit is contained in:
@@ -128,7 +128,6 @@ public class SwiftPackageManagerAnalyzer extends AbstractFileTypeAnalyzer {
|
|||||||
}
|
}
|
||||||
final Matcher matcher = SPM_BLOCK_PATTERN.matcher(contents);
|
final Matcher matcher = SPM_BLOCK_PATTERN.matcher(contents);
|
||||||
if (matcher.find()) {
|
if (matcher.find()) {
|
||||||
contents = contents.substring(matcher.end());
|
|
||||||
final String packageDescription = matcher.group(1);
|
final String packageDescription = matcher.group(1);
|
||||||
if (packageDescription.isEmpty()) {
|
if (packageDescription.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user