summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_string.inl
diff options
context:
space:
mode:
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 204ea5db435..c1b8aef93e5 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 = 0;
+ static wchar_t *lasts;
return ::wcstok (s, tokens, &lasts);
#else
return ::wcstok (s, tokens);