diff options
author | Richard Weickelt <richard@weickelt.de> | 2020-08-13 22:55:23 +0200 |
---|---|---|
committer | Richard Weickelt <richard@weickelt.de> | 2020-08-14 07:57:54 +0000 |
commit | e42ad799703412d7375465df49282dd960f81e2e (patch) | |
tree | e2bfbd2eceb0d0aac456aa2b5f61a8a2a9200c9d | |
parent | a15e25ac5d5888d9e2dde13df0b7b21a37ba4e56 (diff) | |
download | qbs-e42ad799703412d7375465df49282dd960f81e2e.tar.gz |
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.js | 2 |
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"); |