diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-03-11 22:59:46 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-03-11 22:59:46 (GMT) |
commit | c4231094c9c77c685371d726d28e65c0459486de (patch) | |
tree | 2d4bb57239cb46bd2b1194c853c3a7263e487455 /src/common/dllist.c | |
parent | 29a22c425f492427f45b71de937f2d99587c8d34 (diff) |
Inserted comments into disassembled code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@53 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/common/dllist.c')
-rw-r--r-- | src/common/dllist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/dllist.c b/src/common/dllist.c index 10f73e1..7e56bf4 100644 --- a/src/common/dllist.c +++ b/src/common/dllist.c @@ -45,11 +45,11 @@ void __dl_list_add(dl_list_item *new, dl_list_head *head, dl_list_item *prev, dl_list_item *next) { - if (prev != NULL) prev->next = new; + prev->next = new; new->prev = prev; new->next = next; - if (next != NULL) next->prev = new; + next->prev = new; if (*head == NULL) *head = new; |