# HG changeset patch # User Matti Hamalainen # Date 1671621656 -7200 # Node ID 3f59c5ab7fea6413be0739d9ea352ec00888d660 # Parent 57ccf6402d2a9ae502c0c5afb0b627d4e3cb2766 Add #ifdef to avoid unused variable warning. diff -r 57ccf6402d2a -r 3f59c5ab7fea tests.c --- a/tests.c Wed Dec 21 13:20:06 2022 +0200 +++ b/tests.c Wed Dec 21 13:20:56 2022 +0200 @@ -802,7 +802,9 @@ { char *home = th_get_home_dir(), *cfg = th_get_config_dir(); th_stat_data stat; +#ifdef TH_PLAT_UNIX int res; +#endif TEST1A("%s", home, !=, NULL); TEST1A("%s", cfg, !=, NULL);