mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-20 03:35: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"));
|
struct bar *bar = conf_to_bar(yml_get_value(conf, "bar"));
|
||||||
|
|
||||||
#if 1
|
|
||||||
struct bar_run_context bar_ctx = {
|
struct bar_run_context bar_ctx = {
|
||||||
.bar = bar,
|
.bar = bar,
|
||||||
.abort_fd = abort_fd,
|
.abort_fd = abort_fd,
|
||||||
|
@ -60,7 +59,7 @@ main(int argc, const char *const *argv)
|
||||||
|
|
||||||
int res;
|
int res;
|
||||||
thrd_join(bar_thread, &res);
|
thrd_join(bar_thread, &res);
|
||||||
#endif
|
|
||||||
bar->destroy(bar);
|
bar->destroy(bar);
|
||||||
yml_destroy(conf);
|
yml_destroy(conf);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue