Skip to content

Commit

Permalink
main: use ifdef for RE_TRACE_ENABLED (#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers authored Sep 27, 2023
1 parent 7ac944b commit e59bbb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ int libre_init(void)
return err;
}

#if RE_TRACE_ENABLED
#ifdef RE_TRACE_ENABLED
re_trace_init("re_trace.json");
#endif

Expand All @@ -184,7 +184,7 @@ int libre_init(void)
void libre_close(void)
{

#if RE_TRACE_ENABLED
#ifdef RE_TRACE_ENABLED
re_trace_close();
#endif
(void)fd_setsize(0);
Expand Down

0 comments on commit e59bbb4

Please sign in to comment.