Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2015 10:34:11 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r292656 - stable/10/share/examples/tests/tests/atf
Message-ID:  <201512231034.tBNAYBD0089659@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Wed Dec 23 10:34:11 2015
New Revision: 292656
URL: https://svnweb.freebsd.org/changeset/base/292656

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

Modified:
  stable/10/share/examples/tests/tests/atf/printf_test.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/share/examples/tests/tests/atf/printf_test.c
==============================================================================
--- stable/10/share/examples/tests/tests/atf/printf_test.c	Wed Dec 23 10:31:46 2015	(r292655)
+++ stable/10/share/examples/tests/tests/atf/printf_test.c	Wed Dec 23 10:34:11 2015	(r292656)
@@ -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());
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512231034.tBNAYBD0089659>