summaryrefslogtreecommitdiffstats
path: root/runtime/stringbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/stringbuf.h')
-rw-r--r--runtime/stringbuf.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/stringbuf.h b/runtime/stringbuf.h
index 86c7e943..400c74eb 100644
--- a/runtime/stringbuf.h
+++ b/runtime/stringbuf.h
@@ -76,8 +76,6 @@ static inline rsRetVal cstrAppendChar(cstr_t *pThis, uchar c)
{
rsRetVal iRet = RS_RET_OK;
- rsCHECKVALIDOBJECT(pThis, OIDrsCStr);
-
if(pThis->iStrLen >= pThis->iBufSize) {
CHKiRet(rsCStrExtendBuf(pThis, 1)); /* need more memory! */
}
@@ -100,7 +98,6 @@ static inline rsRetVal
cstrFinalize(cstr_t *pThis)
{
rsRetVal iRet = RS_RET_OK;
- rsCHECKVALIDOBJECT(pThis, OIDrsCStr);
if(pThis->iStrLen > 0) {
/* terminate string only if one exists */