From 9d40e340ea8f0d32e8c0a1304b3006630242af51 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 29 Jun 2013 15:49:26 +0000 Subject: [PATCH] Fix a -Wunsequenced warning. Submitted by: dt71@gmx.com --- bin/ed/re.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ed/re.c b/bin/ed/re.c index 08a330de3f87..03a343657bbf 100644 --- a/bin/ed/re.c +++ b/bin/ed/re.c @@ -89,7 +89,7 @@ extract_pattern(int delimiter) default: break; case '[': - if ((nd = parse_char_class(++nd)) == NULL) { + if ((nd = parse_char_class(nd + 1)) == NULL) { errmsg = "unbalanced brackets ([])"; return NULL; }