all repos — tint2 @ f8c6dc1ecc7e3f70e1638028427a34de21861645

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Remove warning
Chris Lee @klee93
commit

f8c6dc1ecc7e3f70e1638028427a34de21861645

parent

11c468816d098b78cc68ccb745be5a9eec689e8b

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M src/util/bt.csrc/util/bt.c

@@ -28,6 +28,8 @@

#include "bt.h" #include "bool.h" +#if defined(HAS_BACKTRACE) || defined(HAS_LIBUNWIND) || defined(HAS_EXECINFO) + static void bt_add_frame(struct backtrace *bt, const char *fname) { if (bt->frame_count >= BT_MAX_FRAMES)

@@ -40,6 +42,8 @@ strncpy(frame->name, "??", BT_FRAME_SIZE);

} bt->frame_count++; } + +#endif #ifdef HAS_BACKTRACE