diff options
Diffstat (limited to 'lib/igt_core.h')
-rw-r--r-- | lib/igt_core.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/igt_core.h b/lib/igt_core.h index 59952331..64d823f6 100644 --- a/lib/igt_core.h +++ b/lib/igt_core.h @@ -297,6 +297,17 @@ void __igt_fail_assert(const char *domain, const char *file, void igt_exit(void) __attribute__((noreturn)); /** + * igt_ignore_warn: + * @expr: condition to ignore + * + * + * Stops the compiler warning about an unused return value. + */ +static inline void igt_ignore_warn(bool value) +{ +} + +/** * igt_assert: * @expr: condition to test * |