summaryrefslogtreecommitdiff
path: root/src/adaptor
diff options
context:
space:
mode:
authorSimon Brandner <simon.brandner@partner.bmw.de>2012-11-30 11:53:38 +0100
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2013-07-19 16:54:01 +0200
commit0790eaebe0dfea27bd0f871e19af752d10bf8938 (patch)
treeacae2e91220bb0acedafccbb24613c23867a3e36 /src/adaptor
parent407fbecc4b95658e9c36e2e45e210b88d4bbc308 (diff)
downloadDLT-daemon-0790eaebe0dfea27bd0f871e19af752d10bf8938.tar.gz
Parasoft workaround: solve complaints about missing breaks/returns in default part of switch statements
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/adaptor')
-rwxr-xr-xsrc/adaptor/dlt-adaptor-udp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/adaptor/dlt-adaptor-udp.c b/src/adaptor/dlt-adaptor-udp.c
index 11873e1..719707e 100755
--- a/src/adaptor/dlt-adaptor-udp.c
+++ b/src/adaptor/dlt-adaptor-udp.c
@@ -143,6 +143,7 @@ int main(int argc, char* argv[])
{
fprintf(stderr, "Unknown option '%c'\n", optopt);
exit(3);
+ return 3;//for parasoft
}
}
}