Fixed a crash because of an uninitialized variable.
Этот коммит содержится в:
родитель
243ac1325e
Коммит
c1eb75a515
@ -1,3 +1,8 @@
|
||||
2008-12-02 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* tty.c (tty_tgetstr): Fixed a crash because of an uninitialized
|
||||
variable.
|
||||
|
||||
2007-11-02 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* cmd.c (save_setup_cmd): Remove redundant g_strconcat() call.
|
||||
|
@ -226,7 +226,7 @@ tty_tgetstr (const char *cap)
|
||||
return SLtt_tgetstr (str_unconst (cap));
|
||||
#else
|
||||
{
|
||||
char *unused;
|
||||
char *unused = NULL;
|
||||
return tgetstr (str_unconst (cap), &unused);
|
||||
}
|
||||
#endif
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user