Fix uninitialized variable
This commit is contained in:
@@ -108,7 +108,7 @@ static void
|
|||||||
lang_add(lang_t *ptr, int sort)
|
lang_add(lang_t *ptr, int sort)
|
||||||
{
|
{
|
||||||
lang_t *p, *pp;
|
lang_t *p, *pp;
|
||||||
lang_t *prev;
|
lang_t *prev = 0;
|
||||||
|
|
||||||
/* Create a copy of the entry data. */
|
/* Create a copy of the entry data. */
|
||||||
pp = (lang_t *)malloc(sizeof(lang_t));
|
pp = (lang_t *)malloc(sizeof(lang_t));
|
||||||
|
|||||||
Reference in New Issue
Block a user