mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 01:17:45 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue