aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Weickelt <richard@weickelt.de>2020-08-13 22:55:23 +0200
committerRichard Weickelt <richard@weickelt.de>2020-08-14 07:57:54 +0000
commite42ad799703412d7375465df49282dd960f81e2e (patch)
treee2bfbd2eceb0d0aac456aa2b5f61a8a2a9200c9d
parenta15e25ac5d5888d9e2dde13df0b7b21a37ba4e56 (diff)
Replace wrong continue statement with return
Change-Id: Ia764530de200b80acf833e0e9ffc751b1988756c Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
-rw-r--r--share/qbs/modules/cpp/sdcc.js2
1 files changed, 1 insertions, 1 deletions
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");