1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

Use IsMinListEmpty() for MinList rather than IsListEmpty().

This removes the warnings about breaking the strict-aliasing rules.
This commit is contained in:
Sebastian Bauer
2018-04-10 23:20:20 +02:00
parent 85c36839d5
commit 397013922c
8 changed files with 23 additions and 15 deletions

View File

@@ -69,7 +69,7 @@ CLIB_DESTRUCTOR(unistd_exit)
PROFILE_OFF();
if(__unlink_list.mlh_Head != NULL && NOT IsListEmpty((struct List *)&__unlink_list))
if(__unlink_list.mlh_Head != NULL && NOT IsMinListEmpty(&__unlink_list))
{
struct UnlinkNode * uln;
BPTR old_dir;