diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-26 01:21:10 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-26 01:21:10 -0700 |
commit | 0bc644abf06d1cf903ed7bf59302894f80d18971 (patch) | |
tree | da229cd4505d34800af22e10c8f61d380d6a88b3 /color.cpp | |
parent | 31b7d076b7bff8d7bb81e6a1fff58755b7baa10b (diff) |
Fix lots of bugs related to the static analyzer
Improved how screen.cpp interacts with output_set_writer()
Diffstat (limited to 'color.cpp')
-rw-r--r-- | color.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -232,17 +232,6 @@ void rgb_color_t::parse(const wcstring &str) { bzero(this->data.rgb, sizeof this->data.rgb); this->type = type_none; } - if (! success) success = try_parse_special(str); - if (this->try_parse_special(str)) { - /* Nothing */ - } else if (this->try_parse_named(str)) { - - } else if (this->try_parse_rgb(str)) { - this->type = type_rgb; - } else { - bzero(this->data.rgb, sizeof this->data.rgb); - this->type = type_none; - } } rgb_color_t::rgb_color_t(const wcstring &str) { |