Author: ngie
Date: Sun Dec 20 02:36:30 2015
New Revision: 292485
URL: https://svnweb.freebsd.org/changeset/base/292485

Log:
  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

Modified:
  head/share/examples/tests/tests/atf/printf_test.c

Modified: head/share/examples/tests/tests/atf/printf_test.c
==============================================================================
--- head/share/examples/tests/tests/atf/printf_test.c   Sun Dec 20 02:05:33 
2015        (r292484)
+++ head/share/examples/tests/tests/atf/printf_test.c   Sun Dec 20 02:36:30 
2015        (r292485)
@@ -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());
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to