From 9c7fedcad38e58635638da6d4b2d9b555942c4d9 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sun, 20 Dec 2015 02:36:30 +0000 Subject: [PATCH] Add missing return statement to atf/printf_test to make the example complete and correct, and mute a compiler warning from clang MFC after: 3 days Reported by: Jenkins Sponsored by: EMC / Isilon Storage Division --- share/examples/tests/tests/atf/printf_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/examples/tests/tests/atf/printf_test.c b/share/examples/tests/tests/atf/printf_test.c index 04a5665cdd8..719927cbccf 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()); }