mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
- Fixed the using of the assert macro.
svn path=/trunk/; revision=5278
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user