aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/tads/tads2/built_in.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/tads/tads2/built_in.cpp')
-rw-r--r--engines/glk/tads/tads2/built_in.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/tads/tads2/built_in.cpp b/engines/glk/tads/tads2/built_in.cpp
index c67399d402..5831903c76 100644
--- a/engines/glk/tads/tads2/built_in.cpp
+++ b/engines/glk/tads/tads2/built_in.cpp
@@ -1189,8 +1189,8 @@ void bifsub(bifcxdef *ctx, int argc)
/* cvtstr - convert value to a string */
void bifcvs(bifcxdef *ctx, int argc)
{
- char *p;
- int len;
+ char *p = nullptr;
+ int len = 0;
char buf[30];
bifcntargs(ctx, 1, argc);