Skip to content
Myr

render: tag img_x as ‘unused’

Before adoption: this commit came in with the history the project adopted, so no landing records it.

When svg icon support is disabled, it _is_ unused.

authored by Daniel Eklöf · committed by Daniel Eklöf · parent a7307b6 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:render.c+1 added-1 removed
306 unmodified lines
307 * there's "enough" free space, render a large308 * representation of the icon */309310 const double size = min(buf->height * 0.618, buf->width * 0.618);311 const double img_x = (buf->width - size) / 2.;311 const double img_x __attribute__((unused)) = (buf->width - size) / 2.;312 const double img_y = first_row + (buf->height - size) / 2.;313314 const double list_end = first_row + match_count * row_height;315
293 unmodified lines