From 8f33b55ccc501f8460d4d5ff8bd5ef7861a0ee3a Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Mon, 4 Apr 2016 16:55:40 -0700 Subject: remove unused special color "ignore" Resolve lint warning about unused method "rgb_color_t::ignore()". Fixes #2893 --- src/output.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/output.h') diff --git a/src/output.h b/src/output.h index 68ad2a2e..acdd2612 100644 --- a/src/output.h +++ b/src/output.h @@ -27,9 +27,7 @@ enum FISH_COLOR_MAGENTA, FISH_COLOR_CYAN, FISH_COLOR_WHITE, - /** The default fg color of the terminal */ - FISH_COLOR_NORMAL, - FISH_COLOR_IGNORE, + FISH_COLOR_NORMAL, // the default fg color of the terminal FISH_COLOR_RESET }; @@ -41,9 +39,8 @@ enum screen to flicker, the function takes care to write as little as possible. - Possible values for color are any form the FISH_COLOR_* enum, - FISH_COLOR_IGNORE and FISH_COLOR_RESET. FISH_COLOR_IGNORE will - leave the color unchanged, and FISH_COLOR_RESET will perform an + Possible values for color are any form the FISH_COLOR_* enum + and FISH_COLOR_RESET. FISH_COLOR_RESET will perform an exit_attribute_mode, even if set_color thinks it is already in FISH_COLOR_NORMAL mode. -- cgit v1.2.3