Skip to content

Commit c8a665c

Browse files
committed
deal with deficient compilers not understanding what an assert is
1 parent b83aa90 commit c8a665c

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# A convenient way to add a new source file is:
77
# mulle-sde add src/foo.c
88
#
9-
cmake_minimum_required( VERSION 3.13)
9+
cmake_minimum_required( VERSION 3.13...99.99)
1010

1111
project( mulle-linkedlist VERSION 0.0.5 LANGUAGES C)
1212

src/mulle-concurrent-linkedlist.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ static inline void
7676
_mulle_concurrent_linkedlist_done( struct _mulle_concurrent_linkedlist *p)
7777
{
7878
assert( ! _mulle_atomic_pointer_nonatomic_read( &p->_head.pointer));
79+
80+
MULLE_C_UNUSED( p);
7981
}
8082

8183

src/mulle-linkedlist.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ static inline void
176176
_mulle_linkedlist_done( struct _mulle_linkedlist *p)
177177
{
178178
assert( ! p->_head._next);
179+
180+
MULLE_C_UNUSED( p);
179181
}
180182

181183

0 commit comments

Comments
 (0)