From ff468584abddcb3f703d407aecf78137fb656472 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Fri, 1 Oct 2021 16:11:39 +0300 Subject: commands: Remove unused code after 1d3681f52135 Clang 13 reports: ../sway/commands.c:470:23: error: variable 'context' set but not used [-Werror,-Wunused-but-set-variable] enum command_context context = 0; ^ Last use of was removed in commit 1d3681f52135. Downstream PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258813 --- include/sway/config.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include') diff --git a/include/sway/config.h b/include/sway/config.h index 52867fa6..46dd4ffe 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -418,14 +418,6 @@ enum sway_popup_during_fullscreen { POPUP_LEAVE, }; -enum command_context { - CONTEXT_CONFIG = 1 << 0, - CONTEXT_BINDING = 1 << 1, - CONTEXT_IPC = 1 << 2, - CONTEXT_CRITERIA = 1 << 3, - CONTEXT_ALL = 0xFFFFFFFF, -}; - enum focus_follows_mouse_mode { FOLLOWS_NO, FOLLOWS_YES, -- cgit v1.2.3-54-g00ecf