aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/cpp/sdcc.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/qbs/modules/cpp/sdcc.js')
-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");