Fix a -Wunsequenced warning.

Submitted by:	dt71@gmx.com
This commit is contained in:
Tim Kientzle 2013-06-29 15:49:26 +00:00
parent ad4422d3cd
commit 9d40e340ea
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252374

View File

@ -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;
}