mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 06:05:39 +08:00
Remove a stale comment.
This commit is contained in:
parent
7167ba6e08
commit
e9ff3f2e65
|
@ -198,10 +198,6 @@ extern const bool has_working_tty_timestamps;
|
|||
extern const wcstring g_empty_string;
|
||||
|
||||
// Pause for input, then exit the program. If supported, print a backtrace first.
|
||||
// The `return` will never be run but silences oclint warnings. Especially when this is called
|
||||
// from within a `switch` block. As of the time I'm writing this oclint doesn't recognize the
|
||||
// `__attribute__((noreturn))` on the exit_without_destructors() function.
|
||||
// TODO: we use C++11 [[noreturn]] now, does that change things?
|
||||
#define FATAL_EXIT() \
|
||||
do { \
|
||||
char exit_read_buff; \
|
||||
|
|
Loading…
Reference in New Issue
Block a user