- Fixed the using of the assert macro.

svn path=/trunk/; revision=5278
This commit is contained in:
Hartmut Birr
2003-07-26 14:56:55 +00:00
parent 27d761134d
commit 6b89ce1a25
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
#include <msvcrt/internal/tls.h>
#include <msvcrt/assert.h>
/*
* This is an MSVCRT internal function to return the lasttoken
@@ -9,6 +10,6 @@
char** _lasttoken()
{
PTHREADDATA ptd = GetThreadData();
_assert(ptd);
assert(ptd);
return &(ptd->lasttoken);
}
+2 -2
View File
@@ -1,5 +1,5 @@
#include <msvcrt/internal/tls.h>
#include <msvcrt/assert.h>
/*
* This is an MSVCRT internal function to return the lasttoken
* bit of data used by wcstok. The reason for it's existence is
@@ -9,6 +9,6 @@
wchar_t** _wlasttoken()
{
PTHREADDATA ptd = GetThreadData();
_assert(ptd);
assert(ptd);
return &(ptd->wlasttoken);
}