From 4fd33ef2b5669a3e5c02124e19ba906c362d098a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 4 Jul 2021 18:25:19 +0200 Subject: [PATCH] test/cli: fixed missing returns in test cases --- test/cli/proj-inline-suppress-unusedFunction/A.cpp | 1 + test/cli/proj-inline-suppress/4.c | 1 + 2 files changed, 2 insertions(+) diff --git a/test/cli/proj-inline-suppress-unusedFunction/A.cpp b/test/cli/proj-inline-suppress-unusedFunction/A.cpp index 18c1aed0a..69235491d 100644 --- a/test/cli/proj-inline-suppress-unusedFunction/A.cpp +++ b/test/cli/proj-inline-suppress-unusedFunction/A.cpp @@ -3,4 +3,5 @@ int main() { B b(); + return 0; } diff --git a/test/cli/proj-inline-suppress/4.c b/test/cli/proj-inline-suppress/4.c index 5d65e5433..022c389b2 100644 --- a/test/cli/proj-inline-suppress/4.c +++ b/test/cli/proj-inline-suppress/4.c @@ -1,5 +1,6 @@ int main() { // cppcheck-suppress unreadVariable int i = 0; + return 0; }