From db377385f6592f502839e3caa20a03ea352b8749 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 31 Oct 2021 13:41:54 +0100 Subject: [PATCH] Fix copy paste error --- src/parse_util.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/parse_util.cpp b/src/parse_util.cpp index bdc72e458..595fe621d 100644 --- a/src/parse_util.cpp +++ b/src/parse_util.cpp @@ -266,10 +266,6 @@ int parse_util_locate_cmdsubst_range(const wcstring &str, size_t *inout_cursor_o *out_end = bracket_range_end - buff; if (out_is_quoted) *out_is_quoted = cmdsub_is_quoted; - // Update the inout_cursor_offset. Note this may cause it to exceed str.size(), though - // overflow is not likely. - *inout_cursor_offset = 1 + *out_end; - // Update the inout_cursor_offset. Note this may cause it to exceed str.size(), though // overflow is not likely. *inout_cursor_offset = 1 + *out_end;