summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-23 10:34:11 +0000
committerngie <ngie@FreeBSD.org>2015-12-23 10:34:11 +0000
commitf5638e51344c0944f71c9a8782413ec130750d3a (patch)
tree5b24752feeda5d71332b3465ece541b004211687 /share
parent481eabe8eb85b503287e71d764ad530dc17e050a (diff)
downloadFreeBSD-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')
-rw-r--r--share/examples/tests/tests/atf/printf_test.c2
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());
}
OpenPOWER on IntegriCloud