main: silence compiler warning

This commit is contained in:
Thomas Schoebel-Theuer 2023-10-10 15:20:30 +02:00
parent 6c651dc389
commit 535a376084
1 changed files with 2 additions and 1 deletions

View File

@ -332,8 +332,9 @@ void _show_vals(struct key_value_pair *start,
} }
if (silent) { if (silent) {
const char *check = ordered_readlink(dst, NULL); const char *check = ordered_readlink(dst, NULL);
bool gone = (!check || !*check); bool gone;
gone = (!check || !*check);
brick_string_free(check); brick_string_free(check);
brick_string_free(start->val); brick_string_free(start->val);
/* remove old message with minimum update frequency */ /* remove old message with minimum update frequency */