Message ID | 20170707134002.49500-13-luc.vanoostenryck@gmail.com (mailing list archive) |
---|---|
State | Rejected, archived |
Headers | show |
diff --git a/ptrlist.h b/ptrlist.h index 8941c339a..0d17237f5 100644 --- a/ptrlist.h +++ b/ptrlist.h @@ -194,10 +194,7 @@ static inline void *last_ptr_list(struct ptr_list *list) } while (0) #define DO_REVERSE(ptr, __cur, new, __newcur, PTR_ENTRY) do { \ - struct ptr_cur __newcur; \ - __newcur.h = __cur.h; \ - __newcur.l = __cur.l; \ - __newcur.n = __cur.n; \ + struct ptr_cur __newcur = __cur; \ new = ptr; \ goto __inside##new; \ do { \