aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/config
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2004-10-10 17:55:23 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2004-10-10 17:55:23 +0000
commita780ad2f430e6aeb6e2c7b9dca9093ba5e2ff6e9 (patch)
tree0c896c6c52dbc1d62fd55da7e576c7cbb9a4db73 /libstdc++-v3/config
parent0ba09d8fc65f306909c11b68c67030a3c6ca13c2 (diff)
downloadgcc-a780ad2f430e6aeb6e2c7b9dca9093ba5e2ff6e9.zip
gcc-a780ad2f430e6aeb6e2c7b9dca9093ba5e2ff6e9.tar.gz
gcc-a780ad2f430e6aeb6e2c7b9dca9093ba5e2ff6e9.tar.bz2
monetary_members.cc (_S_construct_pattern): Give __ret a default value, thus avoiding spurious warnings.
2004-10-10 Paolo Carlini <pcarlini@suse.de> * config/locale/gnu/monetary_members.cc (_S_construct_pattern): Give __ret a default value, thus avoiding spurious warnings. * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: Open either words or linux.words, otherwise exit. * testsuite/performance/27_io/ifstream_getline.cc: Slighlty tweak. From-SVN: r88848
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r--libstdc++-v3/config/locale/gnu/monetary_members.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/config/locale/gnu/monetary_members.cc b/libstdc++-v3/config/locale/gnu/monetary_members.cc
index 947876c..20d9642 100644
--- a/libstdc++-v3/config/locale/gnu/monetary_members.cc
+++ b/libstdc++-v3/config/locale/gnu/monetary_members.cc
@@ -199,7 +199,7 @@ namespace std
}
break;
default:
- ;
+ __ret = pattern();
}
return __ret;
}