summaryrefslogtreecommitdiff
path: root/soltools
diff options
context:
space:
mode:
Diffstat (limited to 'soltools')
-rw-r--r--soltools/cpp/_unix.c1
-rw-r--r--soltools/mkdepend/parse.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/soltools/cpp/_unix.c b/soltools/cpp/_unix.c
index 7d15d57ed45a..2ee9215524a2 100644
--- a/soltools/cpp/_unix.c
+++ b/soltools/cpp/_unix.c
@@ -204,6 +204,7 @@ void
error(FATAL, "Can't open output file %s", argv[optind + 1]);
dup2(fdo, 1);
+ // coverity[leaked_handle] - on purpose
}
includelist[NINCLUDE - 1].always = 0;
includelist[NINCLUDE - 1].file = dp;
diff --git a/soltools/mkdepend/parse.c b/soltools/mkdepend/parse.c
index 8aa05547bbe7..23aa67849b49 100644
--- a/soltools/mkdepend/parse.c
+++ b/soltools/mkdepend/parse.c
@@ -158,6 +158,7 @@ int find_includes(struct filepointer *filep, struct inclist *file, struct inclis
break;
}
}
+ // coverity[leaked_storage] - on purpose
return -1;
}