X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftinfo%2Falloc_ttype.c;h=35c92dd8c2b911696b028ed7894a6c338095a4f4;hp=01e8b50c8aaaf643fef742365750911fd3560557;hb=7087871f804c061d339994964269f3c20e88f547;hpb=91fa4688e82518794fcf0c32a36f3fcca5e4c2d5 diff --git a/ncurses/tinfo/alloc_ttype.c b/ncurses/tinfo/alloc_ttype.c index 01e8b50c..35c92dd8 100644 --- a/ncurses/tinfo/alloc_ttype.c +++ b/ncurses/tinfo/alloc_ttype.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1999-2010,2012 Free Software Foundation, Inc. * + * Copyright (c) 1999-2012,2013 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 * @@ -42,7 +42,7 @@ #include -MODULE_ID("$Id: alloc_ttype.c,v 1.26 2012/10/27 21:23:17 tom Exp $") +MODULE_ID("$Id: alloc_ttype.c,v 1.27 2013/06/08 16:54:50 tom Exp $") #if NCURSES_XNAMES /* @@ -476,7 +476,9 @@ _nc_align_termtype(TERMTYPE *to, TERMTYPE *from) NCURSES_EXPORT(void) _nc_copy_termtype(TERMTYPE *dst, const TERMTYPE *src) { +#if NCURSES_XNAMES unsigned i; +#endif *dst = *src; /* ...to copy the sizes and string-tables */ @@ -506,5 +508,4 @@ _nc_copy_termtype(TERMTYPE *dst, const TERMTYPE *src) dst->ext_Names = 0; } #endif - }