Try to resolve unexpected compiler errors
This commit is contained in:
parent
12922225b8
commit
f18f233de2
@ -462,12 +462,18 @@ DCB *dcb = NULL;
|
|||||||
* queue or NULL if the DCB is at the head of the
|
* queue or NULL if the DCB is at the head of the
|
||||||
* queue. Remove zombiedcb from the zombies list.
|
* queue. Remove zombiedcb from the zombies list.
|
||||||
*/
|
*/
|
||||||
if (previousdcb == NULL)
|
if (NULL == previousdcb)
|
||||||
|
{
|
||||||
zombies = zombiedcb->memdata.next;
|
zombies = zombiedcb->memdata.next;
|
||||||
else
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
previousdcb->memdata.next = zombiedcb->memdata.next;
|
previousdcb->memdata.next = zombiedcb->memdata.next;
|
||||||
|
}
|
||||||
|
|
||||||
LOGIF(LD, (skygw_log_write_flush(
|
if (LOG_IS_ENABLED(LD))
|
||||||
|
{
|
||||||
|
(skygw_log_write_flush(
|
||||||
LOGFILE_DEBUG,
|
LOGFILE_DEBUG,
|
||||||
"%lu [%s] Remove dcb "
|
"%lu [%s] Remove dcb "
|
||||||
"%p fd %d in state %s from the "
|
"%p fd %d in state %s from the "
|
||||||
@ -476,7 +482,8 @@ DCB *dcb = NULL;
|
|||||||
__func__,
|
__func__,
|
||||||
zombiedcb,
|
zombiedcb,
|
||||||
zombiedcb->fd,
|
zombiedcb->fd,
|
||||||
STRDCBSTATE(zombiedcb->state))));
|
STRDCBSTATE(zombiedcb->state)));
|
||||||
|
}
|
||||||
/*<
|
/*<
|
||||||
* Move zombie dcb to linked list of victim dcbs.
|
* Move zombie dcb to linked list of victim dcbs.
|
||||||
* The variable dcb is used to hold the last DCB
|
* The variable dcb is used to hold the last DCB
|
||||||
|
Loading…
x
Reference in New Issue
Block a user