Skip to content

Commit

Permalink
FIX: warning: expression result unused (in unused asserts)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Dec 15, 2022
1 parent 5ba2ee8 commit 235adec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/include/sys-core.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,11 @@ enum {
# if (ALEVEL>1)
# define ASSERT2(c,m) if (!(c)) Crash(m); // Not in any releases
# else
# define ASSERT2
# define ASSERT2(c,m)
# endif
#else
# define ASSERT1
# define ASSERT2
# define ASSERT1(c,m)
# define ASSERT2(c,m)
#endif

#define MEM_CARE 5 // Lower number for more frequent checks
Expand Down

0 comments on commit 235adec

Please sign in to comment.