From f5638e51344c0944f71c9a8782413ec130750d3a Mon Sep 17 00:00:00 2001 From: ngie Date: Wed, 23 Dec 2015 10:34:11 +0000 Subject: 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 --- share/examples/tests/tests/atf/printf_test.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'share') 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()); } -- cgit v1.1