aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2007-04-11 15:22:34 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2007-04-11 15:22:34 +0000
commit54e2e812fed6491f6bc4b64e99825a3a22c58262 (patch)
tree9b20d0ca5242aa69a12bdc567b243d0cad8ed04e
parent90737ab777cc13f3c3aaf8e9c352254df3ad6866 (diff)
downloadgcc-54e2e812fed6491f6bc4b64e99825a3a22c58262.zip
gcc-54e2e812fed6491f6bc4b64e99825a3a22c58262.tar.gz
gcc-54e2e812fed6491f6bc4b64e99825a3a22c58262.tar.bz2
1.cc: Initialize v.
2007-04-11 Paolo Carlini <pcarlini@suse.de> * testsuite/22_locale/num_get/get/wchar_t/1.cc: Initialize v. From-SVN: r123717
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/1.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index aac7748..5b4e65f 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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).
diff --git a/libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/1.cc b/libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/1.cc
index 43cfa93..60457f7 100644
--- a/libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/1.cc
+++ b/libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/1.cc
@@ -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;