Mercurial > hg > th-libs
changeset 506:2a9fdd851fb9
De-constify and remove unused variable.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 26 Dec 2019 06:37:21 +0200 |
parents | 50d71fc84831 |
children | 8bb0817210a0 |
files | tests.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests.c Thu Dec 26 06:35:06 2019 +0200 +++ b/tests.c Thu Dec 26 06:37:21 2019 +0200 @@ -314,7 +314,7 @@ } while (0) -void test_config_values(const th_cfgitem_t *cfg) +void test_config_values(th_cfgitem_t *cfg) { th_cfgitem_t *item; @@ -339,7 +339,6 @@ void test_config(void) { - test_ctx ctx; th_ioctx *fh = NULL; th_cfgitem_t *sect1, *sect2, *cfg = NULL; char *v_str1 = NULL;