Changeset 240b2e4 in mainline for kernel/generic/include/assert.h


Ignore:
Timestamp:
2025-04-13T19:05:55Z (4 weeks ago)
Author:
GitHub <noreply@…>
Children:
c7c6afd
Parents:
62e3411 (diff), 28c39f3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Wayne Thornton <wmthornton-dev@…> (2025-04-13 19:05:55)
git-committer:
GitHub <noreply@…> (2025-04-13 19:05:55)
Message:

Merge branch 'HelenOS:master' into master

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/assert.h

    r62e3411 r240b2e4  
    8282#else /* CONFIG_DEBUG */
    8383
    84 #define assert(expr)
    85 #define assert_verbose(expr, msg)
    86 #define static_assert(expr, msg)
     84#define assert(expr) ((void) 0)
     85#define assert_verbose(expr, msg) ((void) 0)
     86#define static_assert(expr, msg) ((void) 0)
    8787
    8888#endif /* CONFIG_DEBUG */
Note: See TracChangeset for help on using the changeset viewer.