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:
Mahmoud Al-Qudsi 2017-09-10 10:49:36 -05:00
parent 5175d82a80
commit 039c3c1673

View file

@ -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