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 /parse_util.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 'parse_util.cpp')
-rw-r--r-- | parse_util.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/parse_util.cpp b/parse_util.cpp index 89575bc8..d411a3f1 100644 --- a/parse_util.cpp +++ b/parse_util.cpp @@ -489,13 +489,11 @@ void parse_util_token_extent( const wchar_t *buff, tokenizer tok; - const wchar_t *a, *b, *pa, *pb; + const wchar_t *a = NULL, *b = NULL, *pa = NULL, *pb = NULL; CHECK( buff, ); assert( cursor_pos >= 0 ); - - a = b = pa = pb = 0; parse_util_cmdsubst_extent( buff, cursor_pos, &begin, &end ); |