Make the definition of Tgetstr() use the value of y, when terminfo is
available, which quiets an unused variable warning. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@289 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -78,7 +78,7 @@ extern int setupterm();
|
||||
extern char *tigetstr();
|
||||
extern int tigetnum();
|
||||
extern int tigetflag();
|
||||
#define Tgetstr(x, y) tigetstr(x.iname)
|
||||
#define Tgetstr(x, y) ((void)&(y), tigetstr((x).iname))
|
||||
#define Tgetnum(x) tigetnum(x.iname);
|
||||
#define Tgetflag(x) tigetflag(x.iname);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user