From owner-svn-src-head@FreeBSD.ORG Sat Jun 29 15:49:26 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 97E00121; Sat, 29 Jun 2013 15:49:26 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 85DA91AE1; Sat, 29 Jun 2013 15:49:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5TFnQmB020423; Sat, 29 Jun 2013 15:49:26 GMT (envelope-from kientzle@svn.freebsd.org) Received: (from kientzle@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5TFnQwZ020422; Sat, 29 Jun 2013 15:49:26 GMT (envelope-from kientzle@svn.freebsd.org) Message-Id: <201306291549.r5TFnQwZ020422@svn.freebsd.org> From: Tim Kientzle Date: Sat, 29 Jun 2013 15:49:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r252374 - head/bin/ed X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jun 2013 15:49:26 -0000 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: dt71@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; }