Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 80853 invoked from network); 4 Apr 2007 21:24:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2007 21:24:18 -0000 Received: (qmail 22850 invoked by uid 500); 4 Apr 2007 21:24:25 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 22837 invoked by uid 500); 4 Apr 2007 21:24:25 -0000 Mailing-List: contact stdcxx-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-commits@incubator.apache.org Received: (qmail 22826 invoked by uid 99); 4 Apr 2007 21:24:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 14:24:25 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 14:24:17 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 63A681A983E; Wed, 4 Apr 2007 14:23:57 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r525612 - /incubator/stdcxx/trunk/include/vector.cc Date: Wed, 04 Apr 2007 21:23:57 -0000 To: stdcxx-commits@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070404212357.63A681A983E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebor Date: Wed Apr 4 14:23:56 2007 New Revision: 525612 URL: http://svn.apache.org/viewvc?view=rev&rev=525612 Log: 2007-04-04 Martin Sebor STDCXX-385 * vector.cc (_C_insert_range): Renamed a loop control variable to prevent clashing with another, and to silence a bogus HP cadvise error #2101: variable has already been declared in the current scope. Modified: incubator/stdcxx/trunk/include/vector.cc Modified: incubator/stdcxx/trunk/include/vector.cc URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/vector.cc?view=diff&rev=525612&r1=525611&r2=525612 ============================================================================== --- incubator/stdcxx/trunk/include/vector.cc (original) +++ incubator/stdcxx/trunk/include/vector.cc Wed Apr 4 14:23:56 2007 @@ -650,8 +650,8 @@ __self->_C_push_back (*__p); // over the range of elements moved above - for (pointer __p = __end; __movend < __p--; ) - *__p = *(__p - __size2); + for (pointer __q = __end; __movend < __q--; ) + *__q = *(__q - __size2); } else { // compute the length of the initial subsequence of the range