summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pack.c b/src/pack.c
index 23bc6e667..e9550b501 100644
--- a/src/pack.c
+++ b/src/pack.c
@@ -649,6 +649,7 @@ read_tmpl(mrb_state *mrb, struct tmpl *tmpl, int *dirp, int *typep, int *sizep,
break;
default:
dir = PACK_DIR_INVALID;
+ type = PACK_TYPE_NONE;
break;
}