mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 10:51:12 +02:00
yaft: initialize unused variables for valgrind silence ;)
This commit is contained in:
@@ -77,10 +77,8 @@ static pid_t fork_and_exec(int *master, int lines, int cols)
|
|||||||
ws.ws_col = cols;
|
ws.ws_col = cols;
|
||||||
/* XXX: this variables are UNUSED (man tty_ioctl),
|
/* XXX: this variables are UNUSED (man tty_ioctl),
|
||||||
but useful for calculating terminal cell size */
|
but useful for calculating terminal cell size */
|
||||||
#if 0
|
ws.ws_ypixel = 0; //CELL_HEIGHT * lines;
|
||||||
ws.ws_ypixel = CELL_HEIGHT * lines;
|
ws.ws_xpixel = 0; //CELL_WIDTH * cols;
|
||||||
ws.ws_xpixel = CELL_WIDTH * cols;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
pid_t pid;
|
pid_t pid;
|
||||||
pid = forkpty(master, NULL, NULL, &ws);
|
pid = forkpty(master, NULL, NULL, &ws);
|
||||||
|
Reference in New Issue
Block a user