From e42ad799703412d7375465df49282dd960f81e2e Mon Sep 17 00:00:00 2001 From: Richard Weickelt Date: Thu, 13 Aug 2020 22:55:23 +0200 Subject: Replace wrong continue statement with return Change-Id: Ia764530de200b80acf833e0e9ffc751b1988756c Reviewed-by: Denis Shienkov --- share/qbs/modules/cpp/sdcc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/qbs/modules/cpp/sdcc.js b/share/qbs/modules/cpp/sdcc.js index 2c745e653..c34db1b22 100644 --- a/share/qbs/modules/cpp/sdcc.js +++ b/share/qbs/modules/cpp/sdcc.js @@ -609,7 +609,7 @@ function prepareLinker(project, product, inputs, outputs, input, output) { cmd.sourceCode = function() { objectPaths.forEach(function(objectPath) { if (!objectPath.endsWith(".c" + objectSuffix)) - continue; // Skip the assembler objects. + return; // Skip the assembler objects. var listingPath = FileInfo.joinPaths( FileInfo.path(objectPath), FileInfo.completeBaseName(objectPath) + ".lst"); -- cgit v1.2.3