top: the '#define SCROLLVAR_NO' is bent but not broken
This patch simply avoids an 'unused' variable warning. Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
43caa7a144
commit
5c8d94ff2e
@ -736,7 +736,10 @@ static int show_pmt (const char *str) {
|
||||
/*
|
||||
* Create and print the optional scroll coordinates message */
|
||||
static void show_scroll (void) {
|
||||
char tmp1[SMLBUFSIZ], tmp2[SMLBUFSIZ];
|
||||
char tmp1[SMLBUFSIZ];
|
||||
#ifndef SCROLLVAR_NO
|
||||
char tmp2[SMLBUFSIZ];
|
||||
#endif
|
||||
int totpflgs = Curwin->totpflgs;
|
||||
int begpflgs = Curwin->begpflg + 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user