8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 18:43:02 +01:00

Use better way to ignore unused return value - thanks to Adriano

This commit is contained in:
alexpeshkoff 2013-11-20 12:12:07 +00:00
parent 9efc7cb4d2
commit 096397097c
2 changed files with 2 additions and 3 deletions

View File

@ -295,5 +295,4 @@
#undef LIBC_SCCS
#define lint
#define EL_UNUSED(a) if (a)
#define EL_UNUSED(a) do { if(a); } while (0)

View File

@ -890,7 +890,7 @@ void GDS_breakpoint(int);
#define FB_FINAL
#endif
#define FB_UNUSED(value) if (value)
#define FB_UNUSED(value) do { if(value); } while (false)
// 30 Dec 2002. Nickolay Samofatov
// This needs to be checked for all supported platforms