diff options
author | ngie <ngie@FreeBSD.org> | 2015-12-23 10:34:11 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-12-23 10:34:11 +0000 |
commit | f5638e51344c0944f71c9a8782413ec130750d3a (patch) | |
tree | 5b24752feeda5d71332b3465ece541b004211687 /share/examples/tests/tests/atf/printf_test.c | |
parent | 481eabe8eb85b503287e71d764ad530dc17e050a (diff) | |
download | FreeBSD-src-f5638e51344c0944f71c9a8782413ec130750d3a.zip FreeBSD-src-f5638e51344c0944f71c9a8782413ec130750d3a.tar.gz |
MFC r292485:
Add missing return statement to atf/printf_test to make the example
complete and correct, and mute a compiler warning from clang
Reported by: Jenkins
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/examples/tests/tests/atf/printf_test.c')
-rw-r--r-- | share/examples/tests/tests/atf/printf_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/examples/tests/tests/atf/printf_test.c b/share/examples/tests/tests/atf/printf_test.c index 04a5665..719927c 100644 --- a/share/examples/tests/tests/atf/printf_test.c +++ b/share/examples/tests/tests/atf/printf_test.c @@ -152,4 +152,6 @@ ATF_TP_ADD_TCS(tp) ATF_TP_ADD_TC(tp, snprintf__two_formatters); ATF_TP_ADD_TC(tp, snprintf__overflow); ATF_TP_ADD_TC(tp, fprintf__simple_string); + + return (atf_no_error()); } |