summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_string.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-11-22 10:08:19 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-11-22 10:08:19 +0000
commit4d194f7609eb86e28d1e3cc38fff15939f1188c6 (patch)
treea1e7d88e09086885ff0f031247a2bc50be729919 /ACE/ace/OS_NS_string.inl
parente5e2bdb96f6d1ed58ed1dc91ad3918b23c2dad92 (diff)
downloadATCD-4d194f7609eb86e28d1e3cc38fff15939f1188c6.tar.gz
Wed Nov 22 09:07:12 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/OS_NS_string.inl')
-rw-r--r--ACE/ace/OS_NS_string.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/OS_NS_string.inl b/ACE/ace/OS_NS_string.inl
index c1b8aef93e5..204ea5db435 100644
--- a/ACE/ace/OS_NS_string.inl
+++ b/ACE/ace/OS_NS_string.inl
@@ -525,7 +525,7 @@ ACE_INLINE wchar_t *
ACE_OS::strtok (wchar_t *s, const wchar_t *tokens)
{
#if defined (ACE_HAS_3_PARAM_WCSTOK)
- static wchar_t *lasts;
+ static wchar_t *lasts = 0;
return ::wcstok (s, tokens, &lasts);
#else
return ::wcstok (s, tokens);