mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-19 19:25:41 +02:00
main: remove ifdef
This commit is contained in:
parent
4e2f578518
commit
db2535bd72
1 changed files with 1 additions and 2 deletions
3
main.c
3
main.c
|
@ -42,7 +42,6 @@ main(int argc, const char *const *argv)
|
|||
|
||||
struct bar *bar = conf_to_bar(yml_get_value(conf, "bar"));
|
||||
|
||||
#if 1
|
||||
struct bar_run_context bar_ctx = {
|
||||
.bar = bar,
|
||||
.abort_fd = abort_fd,
|
||||
|
@ -60,7 +59,7 @@ main(int argc, const char *const *argv)
|
|||
|
||||
int res;
|
||||
thrd_join(bar_thread, &res);
|
||||
#endif
|
||||
|
||||
bar->destroy(bar);
|
||||
yml_destroy(conf);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue