summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/expr.c2
-rw-r--r--runtime/vmprg.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/runtime/expr.c b/runtime/expr.c
index 9a314855..ee5b9e2c 100644
--- a/runtime/expr.c
+++ b/runtime/expr.c
@@ -114,7 +114,7 @@ terminal(expr_t *pThis, ctok_t *tok)
finalize_it:
if(pToken != NULL) {
- CHKiRet(ctok_token.Destruct(&pToken)); /* "eat" processed token */
+ ctok_token.Destruct(&pToken); /* "eat" processed token */
}
RETiRet;
diff --git a/runtime/vmprg.c b/runtime/vmprg.c
index c7354fe4..705e6948 100644
--- a/runtime/vmprg.c
+++ b/runtime/vmprg.c
@@ -103,7 +103,6 @@ Obj2Str(vmprg_t *pThis, cstr_t *pstrPrg)
ISOBJ_TYPE_assert(pThis, vmprg);
assert(pstrPrg != NULL);
- CHKiRet(rsCStrAppendStr(pstrPrg, (uchar*)"program contents:\n"));
i = 0; /* "program counter" */
for(pOp = pThis->vmopRoot ; pOp != NULL ; pOp = pOp->pNext) {
lenAddr = snprintf((char*)szAddr, sizeof(szAddr), "%8.8d: ", i++);