Removed a new warning from GCC4.4.x.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1115 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2009-08-28 15:56:17 +00:00
parent ab68be788e
commit 8c6f1ef338
1 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,8 @@ extern VTList vtlist;
while (!(vtp = vtlist.vt_next)->vt_time) { \ while (!(vtp = vtlist.vt_next)->vt_time) { \
vtfunc_t fn = vtp->vt_func; \ vtfunc_t fn = vtp->vt_func; \
vtp->vt_func = NULL; \ vtp->vt_func = NULL; \
(vtp->vt_next->vt_prev = (void *)&vtlist)->vt_next = vtp->vt_next;\ vtp->vt_next->vt_prev = (void *)&vtlist; \
(&vtlist)->vt_next = vtp->vt_next; \
fn(vtp->vt_par); \ fn(vtp->vt_par); \
} \ } \
} \ } \