Commit ab65e21a by Jonathan Wakely Committed by Jonathan Wakely

c_locale.cc (facet::_S_create_c_locale): Fix warning.

	* config/locale/dragonfly/c_locale.cc (facet::_S_create_c_locale):
	Fix warning.

From-SVN: r210716
parent 21e2806a
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
Likewise. Likewise.
* config/locale/dragonfly/c_locale.cc (facet::_S_create_c_locale):
Fix warning.
2014-05-21 John Marino <gnugcc@marino.st> 2014-05-21 John Marino <gnugcc@marino.st>
* acinclude.m4 (*-*-dragonfly*): New target. * acinclude.m4 (*-*-dragonfly*): New target.
......
...@@ -229,7 +229,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -229,7 +229,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
char localspec[size__s + 6 + 1]; char localspec[size__s + 6 + 1];
if (__s == NULL) { if (__s == NULL) {
localspec[0] = NULL; localspec[0] = '\0';
} else { } else {
strcpy (localspec, __s); strcpy (localspec, __s);
char * pch = strchr (localspec, '@'); char * pch = strchr (localspec, '@');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment