mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
Inhibit unused variable warning in NSTRACE_WHEN (bug#80096)
* src/nsterm.h (NSTRACE_WHEN): Mark 'nstrace_saved_enabled_global' as unused.
This commit is contained in:
parent
785059a1f7
commit
1644463e5b
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ char const * nstrace_fullscreen_type_name (int);
|
|||
|
||||
#define NSTRACE_WHEN(cond, ...) \
|
||||
__attribute__ ((cleanup (nstrace_restore_global_trace_state))) \
|
||||
int nstrace_saved_enabled_global = nstrace_enabled_global; \
|
||||
int __attribute__ ((unused)) nstrace_saved_enabled_global = nstrace_enabled_global;\
|
||||
__attribute__ ((cleanup (nstrace_leave))) \
|
||||
int nstrace_enabled = nstrace_enabled_global && (cond); \
|
||||
if (nstrace_enabled) { ++nstrace_depth; } \
|
||||
|
|
|
|||
Loading…
Reference in a new issue