stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r631410 - /stdcxx/trunk/include/loc/_money_put.cc
Date Tue, 26 Feb 2008 22:41:53 GMT
Author: vitek
Date: Tue Feb 26 14:41:46 2008
New Revision: 631410

URL: http://svn.apache.org/viewvc?rev=631410&view=rev
Log:

2008-02-26  Travis Vitek  <vitek@roguewave.com>

	* include/loc/_money_put.cc: Eliminate uninitialized variable
	warning.


Modified:
    stdcxx/trunk/include/loc/_money_put.cc

Modified: stdcxx/trunk/include/loc/_money_put.cc
URL: http://svn.apache.org/viewvc/stdcxx/trunk/include/loc/_money_put.cc?rev=631410&r1=631409&r2=631410&view=diff
==============================================================================
--- stdcxx/trunk/include/loc/_money_put.cc (original)
+++ stdcxx/trunk/include/loc/_money_put.cc Tue Feb 26 14:41:46 2008
@@ -67,8 +67,8 @@
     typedef moneypunct<_CharT, false> _Punct0;
     typedef moneypunct<_CharT, true>  _Punct1;
 
-    const _Punct0* __pun0;
-    const _Punct1* __pun1;
+    const _Punct0* __pun0 = 0;
+    const _Punct1* __pun1 = 0;
 
     if (__intl) {
         __pun1 = &_RWSTD_USE_FACET (_Punct1, __flags.getloc ());



Mime
View raw message