X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fview.c;h=9834e44415a7f496142d53133ba2176c7267ab70;hp=48c86e6b80e024282951fa8458787aed9a7ef0f1;hb=25358bc041a5566ce2de4c9c792837e552b35671;hpb=c4d90db4f4e50bb8a971955ce4812262da4a50bc diff --git a/test/view.c b/test/view.c index 48c86e6b..9834e444 100644 --- a/test/view.c +++ b/test/view.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2006,2007 Free Software Foundation, Inc. * + * Copyright (c) 1998-2007,2008 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 * @@ -50,7 +50,7 @@ * scroll operation worked, and the refresh() code only had to do a * partial repaint. * - * $Id: view.c,v 1.66 2007/07/21 17:41:55 tom Exp $ + * $Id: view.c,v 1.67 2008/01/19 21:01:21 tom Exp $ */ #include @@ -512,6 +512,7 @@ show_all(const char *tag) i = strlen(temp); sprintf(temp + i, "view %.*s", (int) (sizeof(temp) - 7 - i), fname); #else + (void) tag; sprintf(temp, "view %.*s", (int) sizeof(temp) - 7, fname); #endif move(0, 0);