Author: kientzle Date: Sat Jun 29 15:49:26 2013 New Revision: 252374 URL: http://svnweb.freebsd.org/changeset/base/252374
Log: Fix a -Wunsequenced warning. Submitted by: d...@gmx.com Modified: head/bin/ed/re.c Modified: head/bin/ed/re.c ============================================================================== --- head/bin/ed/re.c Sat Jun 29 15:31:23 2013 (r252373) +++ head/bin/ed/re.c Sat Jun 29 15:49:26 2013 (r252374) @@ -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; } _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"