diff options
author | 2014-04-27 17:27:20 -0700 | |
---|---|---|
committer | 2014-04-27 17:28:57 -0700 | |
commit | fb89c762fc909a4b5a5c51f51990185b30ec6857 (patch) | |
tree | 81e87de5078a0a744ade409dd9e2544761b8620d /common.h | |
parent | 58ebdd4a7edf32a6db5f44f9a8bea45f6d12baa5 (diff) |
Silence unused return value warning in FATAL_EXIT
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -180,10 +180,11 @@ extern const wchar_t *program_name; */ #define FATAL_EXIT() \ { \ - char exit_read_buff; \ + char exit_read_buff; \ show_stackframe(); \ - read( 0, &exit_read_buff, 1 ); \ - exit_without_destructors( 1 ); \ + int ignore __attribute__((unused)); \ + ignore = read( 0, &exit_read_buff, 1 ); \ + exit_without_destructors( 1 ); \ } \ |