vt: always disable state_names[] array

It isn't used anywhere, even with LOG_ENABLE_DBG
This commit is contained in:
Daniel Eklöf 2019-11-05 13:55:43 +01:00
parent 95eaad7ce4
commit 5d763b9e12
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
vt.c
View file

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