mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 05:53:59 +00:00
Fix warnings in FATAL_EXIT macro
darcs-hash:20090204224310-ac50b-111db6c8f5b74dad0a309441063d3d7e9bf8f55d.gz
This commit is contained in:
parent
9b95dda6bf
commit
1ed5decf2c
1 changed files with 7 additions and 7 deletions
4
common.h
4
common.h
|
@ -111,9 +111,9 @@ extern wchar_t *program_name;
|
||||||
*/
|
*/
|
||||||
#define FATAL_EXIT() \
|
#define FATAL_EXIT() \
|
||||||
{ \
|
{ \
|
||||||
char c; \
|
int exit_read_count;char exit_read_buff; \
|
||||||
show_stackframe(); \
|
show_stackframe(); \
|
||||||
read( 0, &c, 1 ); \
|
exit_read_count=read( 0, &exit_read_buff, 1 ); \
|
||||||
exit( 1 ); \
|
exit( 1 ); \
|
||||||
} \
|
} \
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue