Commit f17d0ba5 authored by artem.v.yalozo's avatar artem.v.yalozo Committed by Pavan Balaji
Browse files

added missed brackets in MPL_LL_DELETE_VS2008 macro



Change-Id: Id7cb0c5122eb04eea7f2c5ea541b97a48ca71df3
Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@anl.gov>
parent 51d6c948
......@@ -391,11 +391,11 @@ do {
(tail)=(head); \
} else { \
char *_tmp = (char*)(head); \
while (head->_next && (head->_next != (del))) { \
head = head->_next; \
while ((head)->_next && ((head)->_next != (del))) { \
(head) = (head)->_next; \
} \
if (head->_next) { \
head->_next = ((del)->_next); \
if ((head)->_next) { \
(head)->_next = ((del)->_next); \
if ((tail) == (del)) \
(tail)=(head); \
} \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment