Files
packages/utils/fuse3/patches/100-fuse_signals.c-fix-build-warning-when-HAVE_BACKTRACE.patch
Georgi Valkov 9ef176aaec fuse3: fix build warning in fuse_signals.c
BT_STACK_SZ and backtrace_buffer are not used when
HAVE_BACKTRACE is undefined. Wrap them in #ifdef
to avoid a build warning:

../lib/fuse_signals.c:31:14: warning: 'backtrace_buffer' defined but not used [-Wunused-variable]
   31 | static void *backtrace_buffer[BT_STACK_SZ];
      |              ^~~~~~~~~~~~~~~~

[1] https://github.com/libfuse/libfuse/pull/1245

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2025-06-23 10:26:34 +02:00

975 B