diff options
author | 2014-10-31 01:15:50 -0700 | |
---|---|---|
committer | 2014-10-31 01:15:50 -0700 | |
commit | 7ac593273e25d5ce39104dc1752660a43a29f61d (patch) | |
tree | 1f0a18a2f49a61460ff8d7c1c3de375af37395d4 /parse_util.cpp | |
parent | a529fc9d83295fdf9418436b68d056162ba8231b (diff) |
Remove a bunch of dead code identified by cppcheck
Diffstat (limited to 'parse_util.cpp')
-rw-r--r-- | parse_util.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/parse_util.cpp b/parse_util.cpp index 0b2d79fa..c88b34c5 100644 --- a/parse_util.cpp +++ b/parse_util.cpp @@ -288,11 +288,6 @@ int parse_util_locate_cmdsubst_range(const wcstring &str, size_t *inout_cursor_o return parse_util_locate_brackets_range(str, inout_cursor_offset, out_contents, out_start, out_end, accept_incomplete, L'(', L')'); } -int parse_util_locate_slice_range(const wcstring &str, size_t *inout_cursor_offset, wcstring *out_contents, size_t *out_start, size_t *out_end, bool accept_incomplete) -{ - return parse_util_locate_brackets_range(str, inout_cursor_offset, out_contents, out_start, out_end, accept_incomplete, L'[', L']'); -} - void parse_util_cmdsubst_extent(const wchar_t *buff, size_t cursor_pos, const wchar_t **a, const wchar_t **b) { const wchar_t * const cursor = buff + cursor_pos; |