PerformScan: Remove redundant early-return
The only thing we subsequently do with interfaceConnections is iterate
over it, which if it's empty will result in no action anyway.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: Ibe13538ae46d820a0b09fe57687c794b1d65f963
diff --git a/src/PerformScan.cpp b/src/PerformScan.cpp
index 5655485..c6c56ec 100644
--- a/src/PerformScan.cpp
+++ b/src/PerformScan.cpp
@@ -187,11 +187,6 @@
path);
}
- if (interfaceConnections.empty())
- {
- return;
- }
-
for (const auto& call : interfaceConnections)
{
getInterfaces(call, probeVector, scan);