X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftestaddch.c;h=7a909e28ab95f89a1ae9c23d0f52535d26696286;hp=c1651c6f53a8dbdfd0449cd7c467ce053b0de113;hb=c8e187fc9682a3c5cfaebc480fc98d8585f6caf6;hpb=3f5a74a97cf8d86a8a8a78c7b268f49ccdc4101c diff --git a/test/testaddch.c b/test/testaddch.c index c1651c6f..7a909e28 100644 --- a/test/testaddch.c +++ b/test/testaddch.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2002,2006 Free Software Foundation, Inc. * + * Copyright (c) 1998-2006,2009 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -29,7 +29,7 @@ * This is an example written by Alexander V. Lukyanov , * to demonstrate an inconsistency between ncurses and SVr4 curses. * - * $Id: testaddch.c,v 1.6 2006/04/01 19:08:03 tom Exp $ + * $Id: testaddch.c,v 1.7 2009/08/29 19:02:25 tom Exp $ */ #include @@ -66,7 +66,7 @@ main( attr = (i & 4) ? COLOR_PAIR(4) : 0; bkgdset(back); - attrset(set); + (void) attrset(set); attr_addstr("Test string with spaces -> <-\n", attr); } @@ -77,7 +77,7 @@ main( attr = (i & 4) ? COLOR_PAIR(4) : 0; bkgdset(back); - attrset(set); + (void) attrset(set); attr_addstr("Test string with spaces -> <-\n", attr); }