From: Marta Rybczynska <[email protected]> Make empty return types in check_cvs the same for all code paths.
Signed-off-by: Marta Rybczynska <[email protected]> Signed-off-by: Richard Purdie <[email protected]> (cherry picked from commit f86393c93dec47b24e837d0c4c5761a716ecdbb6) Signed-off-by: Steve Sakoman <[email protected]> --- meta/classes/cve-check.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index 0c5f40b78d..1b4910f737 100644 --- a/meta/classes/cve-check.bbclass +++ b/meta/classes/cve-check.bbclass @@ -264,7 +264,7 @@ def check_cves(d, patched_cves): products = d.getVar("CVE_PRODUCT").split() # If this has been unset then we're not scanning for CVEs here (for example, image recipes) if not products: - return ([], [], [], {}) + return ([], [], [], []) pv = d.getVar("CVE_VERSION").split("+git")[0] # If the recipe has been skipped/ignored we return empty lists -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#166714): https://lists.openembedded.org/g/openembedded-core/message/166714 Mute This Topic: https://lists.openembedded.org/mt/91624469/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
