Changeset a6cd799


Ignore:
Timestamp:
2015-01-16T19:50:24Z (5 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
4f161e3
Parents:
25c4c78
Message:

ipc_child_identify: fix a maybe-uninitialized warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipc.c

    r25c4c78 ra6cd799  
    463463        {
    464464                GSList *l;
    465                 irc_t *old;
     465                irc_t *old = NULL;
    466466                char *to_init[] = { "TAKEOVER", "INIT", NULL };
    467467               
     
    477477                                break;
    478478                }
    479                 if( l == NULL ||
     479                if( l == NULL || old == NULL ||
    480480                    !set_getbool( &irc->b->set, "allow_takeover" ) ||
    481481                    !set_getbool( &old->b->set, "allow_takeover" ) )
Note: See TracChangeset for help on using the changeset viewer.