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 { ...@@ -391,11 +391,11 @@ do {
(tail)=(head); \ (tail)=(head); \
} else { \ } else { \
char *_tmp = (char*)(head); \ char *_tmp = (char*)(head); \
while (head->_next && (head->_next != (del))) { \ while ((head)->_next && ((head)->_next != (del))) { \
head = head->_next; \ (head) = (head)->_next; \
} \ } \
if (head->_next) { \ if ((head)->_next) { \
head->_next = ((del)->_next); \ (head)->_next = ((del)->_next); \
if ((tail) == (del)) \ if ((tail) == (del)) \
(tail)=(head); \ (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