vt: define state_names[] table when debug logging has been enabled

This commit is contained in:
Daniel Eklöf 2019-07-19 09:57:14 +02:00
parent 24e9477174
commit 1f263256a3
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
vt.c
View file

@ -68,7 +68,7 @@ enum action {
ACTION_UTF8_PRINT,
};
#if 0
#if defined(_DEBUG) && defined(LOG_ENABLE_DBG) && LOG_ENABLE_DBG
static const char *const state_names[] = {
[STATE_SAME] = "no change",
[STATE_GROUND] = "ground",