Commit 4fa06abd authored by Oleksandr Dmytrenko's avatar Oleksandr Dmytrenko Committed by Aleksey

delete from list fix

error C2530: '_tmp' : references must be initialized fix

Change-Id: Ia4ddda1ac8d5d1322452534dbf42f93ae9dac949
Signed-off-by: default avatarOleksandr Dmytrenko <o.dmytrenko@samsung.com>
parent c8321995
......@@ -350,11 +350,10 @@ do {
#define LL_DELETE2(head,del,next) \
do { \
LDECLTYPE(head) _tmp; \
if ((head) == (del)) { \
(head)=(head)->next; \
} else { \
_tmp = (head); \
LDECLTYPE(head) _tmp = (head); \
while (_tmp->next && (_tmp->next != (del))) { \
_tmp = _tmp->next; \
} \
......
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