Skip to content

Commit

Permalink
output-management: Fix unused variable warning in release build
Browse files Browse the repository at this point in the history
  • Loading branch information
any1 committed Nov 10, 2024
1 parent 6e4e618 commit bc1ece6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/output-management.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,10 @@ static void output_head_transform(void* data,
static void output_head_scale(void* data,
struct zwlr_output_head_v1* output_head, wl_fixed_t scale_f)
{
#ifndef NDEBUG
double scale = wl_fixed_to_double(scale_f);
nvnc_trace("Got head scale: %.2f", scale);
#endif
}

static void output_head_finished(void* data,
Expand Down

0 comments on commit bc1ece6

Please sign in to comment.