* tty.cc (tty_list::init): Move hmaster initialization earlier to prevent

compilation error.
This commit is contained in:
Christopher Faylor 2004-05-17 15:55:42 +00:00
parent 641654f72a
commit 3271e9f9e3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-05-17 Christopher Faylor <cgf@alum.bu.edu>
* tty.cc (tty_list::init): Move hmaster initialization earlier to
prevent compilation error.
2004-05-17 Christopher Faylor <cgf@alum.bu.edu>
Change the name "title_mutex" to "tty_mutex" throughout.

View File

@ -200,6 +200,7 @@ tty_list::allocate_tty (bool with_console)
{
HWND console;
int freetty = -1;
HANDLE hmaster = NULL;
/* FIXME: This whole function needs a protective mutex. */
@ -237,7 +238,6 @@ tty_list::allocate_tty (bool with_console)
}
}
HANDLE hmaster = NULL;
/* Is a tty allocated for console? */
for (int i = 0; i < NTTYS; i++)
{