aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/sed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 7ff81da79..8bd627a9c 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -212,7 +212,8 @@ static int get_address(char *delimiter, char *my_str, int *linenum, regex_t **re
212 212
213static int parse_subst_cmd(sed_cmd_t * const sed_cmd, const char *substr) 213static int parse_subst_cmd(sed_cmd_t * const sed_cmd, const char *substr)
214{ 214{
215 int oldidx, cflags = REG_NEWLINE; 215 int oldidx;
216 int cflags = 0;
216 char *match; 217 char *match;
217 int idx = 0; 218 int idx = 0;
218 int j; 219 int j;