OSDN Git Service

2007-04-11 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Apr 2007 15:22:34 +0000 (15:22 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Apr 2007 15:22:34 +0000 (15:22 +0000)
* testsuite/22_locale/num_get/get/wchar_t/1.cc: Initialize v.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123717 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/1.cc

index aac7748..5b4e65f 100644 (file)
@@ -1,5 +1,9 @@
 2007-04-11  Paolo Carlini  <pcarlini@suse.de>
 
+       * testsuite/22_locale/num_get/get/wchar_t/1.cc: Initialize v.
+
+2007-04-11  Paolo Carlini  <pcarlini@suse.de>
+
        * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
        ios_base&, ios_base::iostate&, void*&)): Fix for sizeof(void*)
        > sizeof(unsigned long).
index 43cfa93..60457f7 100644 (file)
@@ -52,7 +52,7 @@ void test01()
   double d;
   long double ld1 = 6.630025e+4;
   long double ld;
-  void* v;
+  void* v = 0;
 
   // cache the num_get facet
   wistringstream iss;