stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r381468 - /incubator/stdcxx/trunk/include/sstream.cc
Date Mon, 27 Feb 2006 22:24:35 GMT
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  <sebor@roguewave.com>

	* 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);
     }



Mime
View raw message