Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 6452 invoked from network); 27 Feb 2006 22:25:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Feb 2006 22:25:06 -0000 Received: (qmail 96188 invoked by uid 500); 27 Feb 2006 22:24:57 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 96169 invoked by uid 500); 27 Feb 2006 22:24:57 -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 96157 invoked by uid 500); 27 Feb 2006 22:24:56 -0000 Delivered-To: apmail-incubator-stdcxx-cvs@incubator.apache.org Received: (qmail 96154 invoked by uid 99); 27 Feb 2006 22:24:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 14:24:56 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Feb 2006 14:24:56 -0800 Received: (qmail 6111 invoked by uid 65534); 27 Feb 2006 22:24:35 -0000 Message-ID: <20060227222435.6110.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381468 - /incubator/stdcxx/trunk/include/sstream.cc Date: Mon, 27 Feb 2006 22:24:35 -0000 To: stdcxx-cvs@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: sebor Date: Mon Feb 27 14:24:34 2006 New Revision: 381468 URL: http://svn.apache.org/viewcvs?rev=381468&view=rev Log: 2006-02-27 Martin Sebor * sstream.cc (overflow): Removed an unused variable. Modified: incubator/stdcxx/trunk/include/sstream.cc Modified: incubator/stdcxx/trunk/include/sstream.cc URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/include/sstream.cc?rev=381468&r1=381467&r2=381468&view=diff ============================================================================== --- incubator/stdcxx/trunk/include/sstream.cc (original) +++ incubator/stdcxx/trunk/include/sstream.cc Mon Feb 27 14:24:34 2006 @@ -254,12 +254,6 @@ char_type* const __bufend = this->_C_buffer + this->_C_bufsize; if (this->pptr () == this->epptr ()) { - - // compute the total amount of space necessary - const _RWSTD_SIZE_T __bufsize = this->_C_bufsize ? - this->_C_bufsize * _RWSTD_NEW_CAPACITY_RATIO - : _RWSTD_MINIMUM_STRINGBUF_CAPACITY; - // reallocate buffer str (this->_C_buffer, this->_C_bufsize + 1); }