Mercurial > hg > th-libs
changeset 510:7d4cdc0b1aa4
Oops, accidentally committed some debug code.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 26 Dec 2019 08:13:42 +0200 |
parents | b506bff0a7ab |
children | 934369fafd5d |
files | th_config.c |
diffstat | 1 files changed, 0 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/th_config.c Thu Dec 26 08:10:54 2019 +0200 +++ b/th_config.c Thu Dec 26 08:13:42 2019 +0200 @@ -208,23 +208,6 @@ }; -static const char *th_cfg_parse_modes[PM_LAST] = -{ - "EOF", - "ERROR", - "IDLE", - "COMMENT", - "NEXT", - "KEYNAME", - "KEYSET", - "STRING", - "NUMERIC", - "BOOL", - "SECTION", - "LIST", -}; - - typedef struct { int ch, strDelim, @@ -292,8 +275,6 @@ { BOOL ret = TRUE; - printf("th_cfg_set_item: '%s' = '%s'\n", item->name, str); - switch (item->type) { case ITEM_HEX_TRIPLET: @@ -384,8 +365,6 @@ } } -// tmpStr[strPos] = 0; printf("PM_%-8s: '%c' [%s]\n", th_cfg_parse_modes[ctx.parseMode], ctx.ch, tmpStr); - switch (ctx.parseMode) { case PM_COMMENT: @@ -736,8 +715,6 @@ } } - printf("EXIT: PM_%s\n", th_cfg_parse_modes[ctx.parseMode]); - out: th_free(tmpStr);