diff options
author | Kurtis Rader <krader@skepticism.us> | 2016-04-04 16:55:40 -0700 |
---|---|---|
committer | Kurtis Rader <krader@skepticism.us> | 2016-04-04 16:55:40 -0700 |
commit | 8f33b55ccc501f8460d4d5ff8bd5ef7861a0ee3a (patch) | |
tree | 86707bb4fad74a0bd393b36ff4cd58eddea773f5 /src/color.h | |
parent | 484c1484c9ae01354b1910bae5ed8a729e00b3be (diff) |
remove unused special color "ignore"
Resolve lint warning about unused method "rgb_color_t::ignore()".
Fixes #2893
Diffstat (limited to 'src/color.h')
-rw-r--r-- | src/color.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/color.h b/src/color.h index 988bfdb8..1faa35a6 100644 --- a/src/color.h +++ b/src/color.h @@ -1,5 +1,4 @@ -/** \file color.h Color class. - */ +// Color class. #ifndef FISH_COLOR_H #define FISH_COLOR_H @@ -24,8 +23,7 @@ class rgb_color_t type_named, type_rgb, type_normal, - type_reset, - type_ignore + type_reset }; unsigned char type:4; @@ -79,18 +77,9 @@ public: /** Returns the normal special color */ static rgb_color_t normal(); - /** Returns the ignore special color */ - static rgb_color_t ignore(); - /** Returns the none special color */ static rgb_color_t none(); - /** Returns whether the color is the ignore special color */ - bool is_ignore(void) const - { - return type == type_ignore; - } - /** Returns whether the color is the normal special color */ bool is_normal(void) const { |