Commit 6993e84d authored by Davide Ciminaghi's avatar Davide Ciminaghi Committed by Alessandro Rubini

scripts/kconfig: fix "set but unused variable" warnings

Signed-off-by: Davide Ciminaghi's avatarDavide Ciminaghi <ciminaghi@gnudd.com>
parent a86255d3
...@@ -320,7 +320,6 @@ static void print_page(WINDOW * win, int height, int width) ...@@ -320,7 +320,6 @@ static void print_page(WINDOW * win, int height, int width)
*/ */
static void print_line(WINDOW * win, int row, int width) static void print_line(WINDOW * win, int row, int width)
{ {
int y, x;
char *line; char *line;
line = get_line(); line = get_line();
...@@ -329,7 +328,6 @@ static void print_line(WINDOW * win, int row, int width) ...@@ -329,7 +328,6 @@ static void print_line(WINDOW * win, int row, int width)
waddch(win, ' '); waddch(win, ' ');
waddnstr(win, line, MIN(strlen(line), width - 2)); waddnstr(win, line, MIN(strlen(line), width - 2));
getyx(win, y, x);
/* Clear 'residue' of previous line */ /* Clear 'residue' of previous line */
#if OLD_NCURSES #if OLD_NCURSES
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment