commit | eee6998395184d87bd8e9c07ce2637caed1207f4 | [log] [tgz] |
---|---|---|
author | Chris Dickens <christopher.a.dickens@gmail.com> | Mon Sep 28 17:10:04 2020 -0700 |
committer | Chris Dickens <christopher.a.dickens@gmail.com> | Mon Sep 28 17:10:04 2020 -0700 |
tree | 32f68947c637f6a443faed675dd9f67d0c78eb4e | |
parent | 70c0a51ba3a1daaf8fd51f1457dba86dd389debe [diff] |
core: Fix unused variable warnings on release builds The recently introduced PTHREAD_CHECK and WINAPI_CHECK macros cause a large number of compiler warnings for unused variables on release builds. Fix this by implementing those macros in terms of some new macros that are defined based on the definition of NDEBUG. Closes #788 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>