mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-14 22:45:38 +08:00
Drop unused parameters to show_stackframe on non-Linux systems
Fixed a warning about unused parameters on systems where HAVE_BACKTRACE_SYMBOLS is not defined.
This commit is contained in:
parent
5175d82a80
commit
039c3c1673
@ -162,7 +162,7 @@ show_stackframe(const wchar_t msg_level, int frame_count, int skip_levels) {
|
||||
#else // HAVE_BACKTRACE_SYMBOLS
|
||||
|
||||
void __attribute__((noinline))
|
||||
show_stackframe(const wchar_t msg_level, int frame_count, int skip_levels) {
|
||||
show_stackframe(const wchar_t msg_level, int, int) {
|
||||
debug_shared(msg_level, L"Sorry, but your system does not support backtraces");
|
||||
}
|
||||
#endif // HAVE_BACKTRACE_SYMBOLS
|
||||
|
Loading…
x
Reference in New Issue
Block a user