mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
- Fixed the using of the assert macro.
svn path=/trunk/; revision=5278
This commit is contained in:
parent
27d761134d
commit
6b89ce1a25
2 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue