diff options
author | Paul Gilbert | 2019-05-22 18:27:26 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-05-24 18:21:07 -0700 |
commit | 1a974b9749f2c12edbdf98cbe9f4b6ec9fcba40d (patch) | |
tree | 9c1aeb2491c30488e9d5c85a870bb0e36cd7d10d /engines/glk/tads/tads2/error.cpp | |
parent | aa5fd603b6fd623c138fd3529176847b5b538e49 (diff) | |
download | scummvm-rg350-1a974b9749f2c12edbdf98cbe9f4b6ec9fcba40d.tar.gz scummvm-rg350-1a974b9749f2c12edbdf98cbe9f4b6ec9fcba40d.tar.bz2 scummvm-rg350-1a974b9749f2c12edbdf98cbe9f4b6ec9fcba40d.zip |
GLK: TADS2: Further compilation fixes
Diffstat (limited to 'engines/glk/tads/tads2/error.cpp')
-rw-r--r-- | engines/glk/tads/tads2/error.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/engines/glk/tads/tads2/error.cpp b/engines/glk/tads/tads2/error.cpp index 62c5e9a3e6..ad83d06f21 100644 --- a/engines/glk/tads/tads2/error.cpp +++ b/engines/glk/tads/tads2/error.cpp @@ -184,16 +184,6 @@ void errsign(errcxdef *ctx, int e) { #endif } -/* enter a string argument */ -char *errstr(errcxdef *ctx, const char *str, int len) { - char *ret = &ctx->errcxbuf[ctx->errcxofs]; - - memcpy(ret, str, (size_t)len); - ret[len] = '\0'; - ctx->errcxofs += len + 1; - return(ret); -} - /* log an error: base function */ void errlogn(errcxdef *ctx, int err) { error("errlogn"); |