Skip to content

Commit

Permalink
no ifdefs
Browse files Browse the repository at this point in the history
  • Loading branch information
gquintard committed Jun 25, 2024
1 parent 84c9a6c commit 8c4bf08
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,7 @@ static int process_group(struct VSL_data *vsl,
switch (tag) {
case SLT_Begin:
VSB_clear(vsb);
#ifdef VARNISH_PLUS
VSB_printf(vsb, "%u", t->vxid);
#else
VSB_printf(vsb, "%lu", t->vxid);
#endif
VSB_finish(vsb);
cJSON_AddStringToObject(transaction, "id", VSB_data(vsb));
break;
Expand Down Expand Up @@ -499,7 +495,6 @@ static int process_group(struct VSL_data *vsl,
return (0);
}

#ifdef VARNISH_PLUS
static void v_noreturn_
usage(int status)
{
Expand All @@ -512,7 +507,6 @@ usage(int status)
}

#define VUT_Usage(a, b, ret) usage(ret)
#endif

int main(int argc, char **argv)
{
Expand Down

0 comments on commit 8c4bf08

Please sign in to comment.