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:
parent
9efc7cb4d2
commit
096397097c
3
extern/editline/config.h.in
vendored
3
extern/editline/config.h.in
vendored
@ -295,5 +295,4 @@
|
|||||||
#undef LIBC_SCCS
|
#undef LIBC_SCCS
|
||||||
#define lint
|
#define lint
|
||||||
|
|
||||||
#define EL_UNUSED(a) if (a)
|
#define EL_UNUSED(a) do { if(a); } while (0)
|
||||||
|
|
||||||
|
@ -890,7 +890,7 @@ void GDS_breakpoint(int);
|
|||||||
#define FB_FINAL
|
#define FB_FINAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define FB_UNUSED(value) if (value)
|
#define FB_UNUSED(value) do { if(value); } while (false)
|
||||||
|
|
||||||
// 30 Dec 2002. Nickolay Samofatov
|
// 30 Dec 2002. Nickolay Samofatov
|
||||||
// This needs to be checked for all supported platforms
|
// This needs to be checked for all supported platforms
|
||||||
|
Loading…
Reference in New Issue
Block a user